Skip to content

Commit 0da7359

Browse files
committed
Actually we only need redirect_to here
1 parent 3f4e940 commit 0da7359

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/inertia_rails/controller.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,6 @@ def redirect_to(options = {}, response_options = {})
7070
super
7171
end
7272

73-
def redirect_back(**options)
74-
capture_inertia_errors(options)
75-
super
76-
end
77-
78-
def redirect_back_or_to(_fallback_location, **options)
79-
capture_inertia_errors(options)
80-
super
81-
end
82-
8373
private
8474

8575
def inertia_view_assigns

0 commit comments

Comments
 (0)