Commit 73a8caf1 authored by Sean McGivern's avatar Sean McGivern Committed by Rémy Coutable

Fix method visibility

parent a4e2a84f
...@@ -949,8 +949,6 @@ class User < ActiveRecord::Base ...@@ -949,8 +949,6 @@ class User < ActiveRecord::Base
end end
end end
private
def access_level=(new_level) def access_level=(new_level)
new_level = new_level.to_s new_level = new_level.to_s
return unless %w(admin regular).include?(new_level) 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