Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Commit

Permalink
Added deletable_type
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorHinesley committed Apr 10, 2014
1 parent ec455d2 commit 9210799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/abracadabra/rails/view_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def click_to_edit(instance, options)
end

data_type = options[:type].to_s.gsub(/^j+s+$/, "script") || "script"
deletable_type = options[:deletable_type] || "script"
deletable_type = options[:deletable_type].to_s.gsub(/^j+s+$/, "script") || "script"

link_to(
value,
Expand Down

0 comments on commit 9210799

Please sign in to comment.