Skip to content
Permalink
Browse files

Working with routes

  • Loading branch information
ImsirovicAjdin committed Dec 22, 2019
1 parent 8b1b5d0 commit ecdcb35b9b188c25361ae50b81505dec11acb6e3
Showing with 5 additions and 1 deletion.
  1. +5 −1 config/routes.rb
@@ -1,4 +1,8 @@
Rails.application.routes.draw do
get 'play/index'
# get 'play/index'
# get ':controller(/:action(/:id))'
match "/", :to => "play#index", :via => :get
match ':controller(/:action(/:id))', :via => :get

# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end

0 comments on commit ecdcb35

Please sign in to comment.
You can’t perform that action at this time.