Skip to content

Commit

Permalink
Update user.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrebs5 committed Jun 2, 2018
1 parent 7aed1a5 commit 9387d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class User < ActiveRecord::Base

def role?(base_role)
return false unless role
raise "invalid role: " + base_role unless ROLES.include?(base_role)
raise 'invalid role: ' + base_role unless ROLES.include?(base_role)

base_role.to_sym == role.to_sym
end
Expand Down

0 comments on commit 9387d0b

Please sign in to comment.