mirror of
https://github.com/Neetpone/foalfetch.git
synced 2025-02-08 18:06:43 +01:00
12 lines
323 B
Ruby
12 lines
323 B
Ruby
Rails.application.routes.draw do
|
|
root 'search#index'
|
|
post '/search' => 'search#search'
|
|
get '/search' => 'search#search'
|
|
get '/about' => 'static_pages#about'
|
|
get '/images' => 'images#show'
|
|
|
|
resources :authors, only: [:show]
|
|
resources :stories, only: [:show] do
|
|
resources :chapters, only: [:show]
|
|
end
|
|
end
|