Skip to content

Commit

Permalink
linting: hash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Oct 4, 2019
1 parent c40db2d commit 9966d9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def initialize(user)
elsif user.role_id == "staff_user"
can :read, :all
elsif user.role_id == "provider_admin" && user.provider_id.present?
can [:update, :read, :read_billing_information], Provider, :symbol => user.provider_id.upcase
can [:manage], Provider, :consortium_id => user.provider_id
can [:update, :read, :read_billing_information], Provider, symbol: user.provider_id.upcase
can [:manage], Provider, consortium_id: user.provider_id
can [:read], Provider
can [:manage], ProviderPrefix, :provider_id => user.provider_id
can [:manage], Client,:provider_id => user.provider_id
can [:manage], ProviderPrefix, provider_id: user.provider_id
can [:manage], Client, provider_id: user.provider_id
can [:manage], ClientPrefix #, :client_id => user.provider_id

# if Flipper[:delete_doi].enabled?(user)
Expand Down

0 comments on commit 9966d9a

Please sign in to comment.