Create a report_link helper, and use text instead of a flag icon
[rails.git] / app / controllers / reports_controller.rb
index 21c717581fb979b3f86aec62008e80c69541c172..8a1bed50848785510dadb6e902e0441430ef7caf 100644 (file)
@@ -29,7 +29,7 @@ class ReportsController < ApplicationController
   private
 
   def required_new_report_params_present?
-    create_new_report_params['reportable_id'].present? && create_new_report_params['reportable_type'].present?
+    create_new_report_params["reportable_id"].present? && create_new_report_params["reportable_type"].present?
   end
 
   def create_new_report_params