dmail filters: fix uninitialized constant error.
This commit is contained in:
@@ -21,7 +21,7 @@ module Maintenance
|
|||||||
@dmail = Dmail.find(params[:dmail_id])
|
@dmail = Dmail.find(params[:dmail_id])
|
||||||
|
|
||||||
if @dmail.owner_id != CurrentUser.user.id
|
if @dmail.owner_id != CurrentUser.user.id
|
||||||
raise User::PrivilegeError.new
|
raise ::User::PrivilegeError.new
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user