Skip to content

Commit

Permalink
remove obsolete logging statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 27, 2020
1 parent b0a2e5c commit 670b007
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ def initialize(user)
user ||= User.new(nil) # Guest user
# @user = user

Rails.logger.warn user.inspect

if user.role_id == "staff_admin"
can :manage, :all
cannot [:new, :create], Doi do |doi|
Expand Down

0 comments on commit 670b007

Please sign in to comment.