Sha256: a7805e85f423258fe0f53a9bf815f418371059791aedffb5c722092b6e738458

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.page_permalink 'pages/:id.:format', :controller => 'pages', :action => 'show'
  map.preview_pages 'pages/preview.:format', :controller => 'pages', :action => 'preview'
  map.namespace(:admin) do |admin|
    admin.resources :pages, :has_many => :pages, :collection => {:preview => :post}, :member => {:preview => :put, :move_up => :get, :move_down => :get}
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beef-pages-0.3.8 config/routes.rb