sfdsf
Ruby
code posted
created at 08 Sep 18:57
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
LikeabouseCom::Application.routes.draw do root :to => "posts#index" match "imprint" => "pages#imprint", as: "imprint" match "about" => "pages#about", as: "about" match "feed" => "posts#feed", as: "feed", :format => :rss resources :posts, :only => [:show] do collection do get 'feed' get 'search' end end resources :categories, :only => [:show] ActiveAdmin.routes(self) devise_for :admin_users, ActiveAdmin::Devise.config end |
484 Bytes in 4 ms with coderay