]> git.openstreetmap.org Git - rails.git/blob - app/helpers/reports_helper.rb
Merge remote-tracking branch 'upstream/pull/2473'
[rails.git] / app / helpers / reports_helper.rb
1 module ReportsHelper
2   def report_link(name, reportable)
3     link_to name, new_report_url(:reportable_id => reportable.id, :reportable_type => reportable.class.name)
4   end
5 end