about summary refs log tree commit diff stats
path: root/config/routes.rb
blob: 64b02aa7463a17113b5f1598019ad8d1d5f751b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
Rails.application.routes.draw do
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  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