]> git.openstreetmap.org Git - rails.git/blob - app/helpers/reports_helper.rb
Always look to the global scope for the GPX module
[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