Paxa/green_monkey — Issue #4: Breaking data-link in rails_admin
Author: mediavine
Created: 2012-01-21 16:18:27+00:00
State: open

green_monkey is breaking HAML files in my rails_admin. One problem for example is:

data-link="/admin/leagues/new?modal=true"

is instead becoming

data="{:link=>"/admin/users/new?modal=true"}"

When I disable green_monkey the problem goes away. Any ideas what could be cause this? Rails Admin uses code of the format:

```ruby
= link_to wording_for(:link, :new, config.abstract_model), '#', :data => { :link => new_path(path_hash) }, :class => "create btn", :style => 'margin-left:10px'