1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
danbarberphoto/config/routes.rb
Dan Barber d9f47c3553 Remove custom admin and authentication
This is in preparation for adding in thoughtbot/administrate and custom
authentication/authorisation.
2015-10-26 14:26:32 +00:00

23 lines
371 B
Ruby

DanBarberPhoto::Application.routes.draw do
resources :contacts
resources :categories do
resources :photos do
member do
post :log_view
end
end
end
resources :photos do
member do
post :log_view
end
end
resources :contacts, only: [:new, :create]
get '/:name' => 'pages#show', as: :page
root to: 'home#index'
end