nova
k
u
n
Experiments
Game's Portfolio
Rails Portfolio
Blog
Log In
Experiments
Game's Portfolio
Rail's Portfolio
Blog
Log In
How do you handle unknown or invalid routes in Rails?
Choose the best way to catch all unmatched routes.
match_all '*'
get '/:anything'
match '*path', to: 'errors#not_found', via: :all
resources '*'
Question 1 of 10