basic UI for reporting diary entries,diary entry comments and user profiles
[rails.git] / app / controllers / issues_controller.rb
index a00423a51680d8a9c4e0f56402abc009311a686b..752bcd236c4523b9c4244cf13bc738fcf75b53c3 100644 (file)
@@ -95,7 +95,7 @@ class IssuesController < ApplicationController
     end
 
     def issue_params
-      params.permit(:reportable_id, :reportable_type,:user_id)
+      params[:issue].permit(:reportable_id, :reportable_type,:user_id)
     end
 
     def report_params