/app - the MVC core
/controllers
/helpers - provides extra functionality for views
/models
/views/nameofcontroller - templates for controller actions
/assets
/mailers – mailer classes to send mails
get '/patients/:id', to: 'patients#show', as: 'patient'
resources :photos
namespace :admin do
resources :posts, :comments
end
resources :magazines do
resources :ads
end
resources :comments, only: [:index, :new, :create]