blob: 9c94f8a8ad1eeb931e3ea95d01d18fe4e4737a92 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
Rails.application.routes.draw do
devise_for :users, controllers: { sessions: 'users/sessions' }
root "records#index"
get 'says/:slug', to: 'entries#show'
# get ':directory/:slug', to: 'entries#show', constraints: lambda { |request|
# Entry::DIRECTORIES.include? request.path_parameters['directory']
# }
end
|