Skip to content

Commit

Permalink
Actually we only need redirect_to here
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed Oct 29, 2024
1 parent 3f4e940 commit 0da7359
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/inertia_rails/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ def redirect_to(options = {}, response_options = {})
super
end

def redirect_back(**options)
capture_inertia_errors(options)
super
end

def redirect_back_or_to(_fallback_location, **options)
capture_inertia_errors(options)
super
end

private

def inertia_view_assigns
Expand Down

0 comments on commit 0da7359

Please sign in to comment.