Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Jul 18, 2016
1 parent 76c8e59 commit 06fdf9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rails/auth/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def authorize(allowed_by)
#
# @param [String] :allowed_by label of what allowed the request
def allowed_by=(allowed_by)
raise AlreadyAuthorizedError, "already allowed by #{@allowed_by.ispect}" if @allowed_by
raise AlreadyAuthorizedError, "already allowed by #{@allowed_by.inspect}" if @allowed_by
raise TypeError, "expected String for allowed_by, got #{allowed_by.class}" unless allowed_by.is_a?(String)
@allowed_by = allowed_by
end
Expand Down

0 comments on commit 06fdf9f

Please sign in to comment.