Skip to content

Commit 5d536eb

Browse files
authored
Merge pull request #219 from mjankowski/routes-thing-fix
Remove deprecated hash style of route declaration in dummy app
2 parents 5784122 + 367b2f2 commit 5d536eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dummy/config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
77
# Can be used by load balancers and uptime monitors to verify that the app is live.
8-
get "up" => "rails/health#show", :as => :rails_health_check
8+
get "up", to: "rails/health#show", :as => :rails_health_check
99

1010
# Defines the root path route ("/")
1111
root "posts#index"

0 commit comments

Comments
 (0)