Skip to content

Commit

Permalink
Fix deprecation in routing (#657)
Browse files Browse the repository at this point in the history
* Fix deprecation in routing

* Update config/routes.rb

Co-authored-by: Bruno Prieto <[email protected]>

* Update config/routes.rb

Co-authored-by: Bruno Prieto <[email protected]>

---------

Co-authored-by: Bruno Prieto <[email protected]>
  • Loading branch information
atomaka and brunoprietog authored Aug 12, 2024
1 parent b0e7ebf commit 01ff576
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Rails.application.routes.draw do
get "recede_historical_location" => "turbo/native/navigation#recede", as: :turbo_recede_historical_location
get "resume_historical_location" => "turbo/native/navigation#resume", as: :turbo_resume_historical_location
get "refresh_historical_location" => "turbo/native/navigation#refresh", as: :turbo_refresh_historical_location
get "recede_historical_location", to: "turbo/native/navigation#recede", as: :turbo_recede_historical_location
get "resume_historical_location", to: "turbo/native/navigation#resume", as: :turbo_resume_historical_location
get "refresh_historical_location", to: "turbo/native/navigation#refresh", as: :turbo_refresh_historical_location
end if Turbo.draw_routes

0 comments on commit 01ff576

Please sign in to comment.