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