BigW Consortium Gitlab

Commit 73a8caf1 by Sean McGivern Committed by Rémy Coutable

Fix method visibility

parent a4e2a84f
......@@ -949,8 +949,6 @@ class User < ActiveRecord::Base
end
end
private
def access_level=(new_level)
new_level = new_level.to_s
return unless %w(admin regular).include?(new_level)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment