app/helpers/ominous/warnings_helper.rb in ominous-0.1.2 vs app/helpers/ominous/warnings_helper.rb in ominous-0.1.3

- old
+ new

@@ -17,10 +17,10 @@ link_to(text, url, :method => :put, :class => link_class) end def ominous_closer_url(warning, closer) if closer.closure_method == 'close_and_dismiss_warning' - ominous.dismiss_warning_url(warning) + File.join(main_app.root_url, ominous.dismiss_warning_path(warning)) else return closer.url end end