lib/poirot/view_helper.rb in poirot-0.2.3 vs lib/poirot/view_helper.rb in poirot-0.2.4
- old
+ new
@@ -1,7 +1,7 @@
module Poirot
module ViewHelper
def csrf_token
- tag(:input, name: 'authenticity_token', type: 'hidden', value: form_authenticity_token)
+ tag(:input, :name => 'authenticity_token', :type => 'hidden', :value => form_authenticity_token)
end
end
-end
\ No newline at end of file
+end