Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4616

I have problems with the routes the Ruby on rails [closed]

$
0
0
Rails.application.routes.draw do  resources :categories  root "pages#index" #before it worked with root "home#index"  get 'home/index'  get 'exercises/sleeping'  #path 'exercises/sleeping'  get 'exercises/relaxing'  # path 'exercises/relaxing'  get 'exercises/meditating'  # path 'exercises/meditating'  get 'music/sleeping'#, to: 'exercises#sleeping'  get 'music/relaxing'  get 'music/meditating'  get '/category/angry'  get '/category/anxious'  get '/category/jealous'  get '/category/only'  get '/category/sad'  get '/category/unmotivated'end

enters but does not return to home, when you touch home or any button on the menu error

enter image description here


Viewing all articles
Browse latest Browse all 4616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>