mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Improve the legacy wild controller route in app templates
This commit is contained in:
@@ -54,5 +54,5 @@
|
||||
|
||||
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
||||
# Note: This route will make all actions in every controller accessible via GET requests.
|
||||
# match ':controller(/:action(/:id(.:format)))'
|
||||
# match ':controller(/:action(/:id))(.:format)'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user