X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b801f3e3e59bc9f9bcdc7b64db2f45e9acd363ef..e68d4efc3cdf02f35144e3967be998aaa633a3de:/app/controllers/issues_controller.rb diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index c381119f0..88c7a46ac 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -14,7 +14,7 @@ class IssuesController < ApplicationController @title = t ".title" @issue_types = [] - @issue_types.push("Note") if current_user.moderator? + @issue_types.push("Note", "User") if current_user.moderator? @issue_types.push("DiaryEntry", "DiaryComment", "User") if current_user.administrator? @users = User.joins(:roles).where(:user_roles => { :role => current_user.roles.map(&:role) }).distinct