Small changes
This commit is contained in:
parent
f72c34aaf8
commit
dc173881e5
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue