Sha256: 918d94233c065d59034adf0743a28773026294e76f400c2002092f89b9f675ed

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

Rails.application.routes.draw do
  devise_for :admins
  namespace "admin" do
    root :to => "home#dashboard"
  end
  namespace "member" do
    root :to => "home#dashboard"
  end
  resources :categories
  resources :posts
  match '/:title' => 'categories#cms'
  match '/:id'    => 'posts#cms'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devape_cms-0.0.8 config/routes.rb