Skip to content

Commit

Permalink
Fix specs and update Gemfile.lock
Browse files Browse the repository at this point in the history
Standard accidentally took away **options in Authorization. This change
replaces it and updates the Gemfile.lock while I'm here.
  • Loading branch information
sej3506 committed Jun 28, 2024
1 parent f683ab9 commit 7349a49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ GEM
net-protocol
nokogiri (1.16.4-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.4-x86_64-darwin)
racc (~> 1.4)
parallel (1.24.0)
parser (3.3.1.0)
ast (~> 2.4.1)
Expand Down Expand Up @@ -243,6 +245,7 @@ GEM
activesupport (>= 5.2.0)
smart_properties (1.17.0)
sqlite3 (1.7.3-arm64-darwin)
sqlite3 (1.7.3-x86_64-darwin)
standard (1.35.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
Expand All @@ -269,6 +272,7 @@ GEM

PLATFORMS
arm64-darwin
x86_64-darwin-21

DEPENDENCIES
addressable
Expand Down
2 changes: 1 addition & 1 deletion lib/clearance/authorization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def store_location
end

# @api private
def redirect_back_or(default, **)
def redirect_back_or(default, **options)
redirect_to(return_to || default, **options)
clear_return_to
end
Expand Down

0 comments on commit 7349a49

Please sign in to comment.