Sha256: 62c1ebe08f2947bf14d08e91e49bf33674b85f690fbd4b0c3f307d1e75d88491

Contents?: true

Size: 616 Bytes

Versions: 2

Compression:

Stored size: 616 Bytes

Contents

Dummy::Application.routes.draw do

  match '/admin' => 'puffer/dashboard#index', :as => :admin

  namespace :puffer do
    root :to => 'dashboard#index'
    resource :session
  end

  namespace :admin do
    resources :users do
      resource :profile do
        resources :tags
      end
      resources :posts do
        resources :categories
        resources :tags
      end
    end
    resources :profiles do
      resources :tags
    end
    resources :posts do
      resource :user
      resources :categories
    end
    resources :categories do
      resources :posts
    end
    resources :news
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puffer-0.0.20 spec/dummy/config/routes.rb
puffer-0.0.19 spec/dummy/config/routes.rb