Sha256: 5804d749e9e513f91f437109cb1bad31dcc7cfacbe67a437c2fe35c891b87707

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 Bytes

Contents

Rails.application.routes.draw do
  
  namespace :bhf, :path => Bhf::Engine.config.mount_at do
    root :to => 'application#index'
    
    get 'page/:page', :to => 'pages#show', :as => :page
    
    scope ':platform' do
      resources :entries, :except => [:index, :show] do
        resources :embed_entries, :except => [:index, :show], :as => :embed
        collection do 
          # TODO: put it
          get :sort
        end
      end
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bhf-0.4.1 config/routes.rb
bhf-0.4.0 config/routes.rb
bhf-0.3.11 config/routes.rb