Small changes
authorShrey <shrey14099@iiitd.ac.in>
Sat, 13 Jun 2015 19:29:43 +0000 (00:59 +0530)
committerMatt Amos <zerebubuth@gmail.com>
Mon, 22 Aug 2016 15:17:54 +0000 (16:17 +0100)
app/controllers/issues_controller.rb

index 24ac932d6974edec6236ce310e2148a5a6f3366d..576b3309fc29945e256ec1fc1a6871bd1cd5f3fd 100644 (file)
@@ -57,8 +57,12 @@ class IssuesController < ApplicationController
   end
 
   def create
+
+    # TODO: Find better place to add these
     admin_issues = [ 'DiaryEntry', 'DiaryComment', 'User']
     moderator_issues = []
+
+    
     @issue = Issue.find_by_reportable_id_and_reportable_type(params[:reportable_id],params[:reportable_type])
     # Check if Issue alrwady exists
     if !@issue