Sha256: de5a1ecaccc52c8c15d1b051c57dfb6eb2aaa14a1e3ba76ef6408af51aa01a15

Contents?: true

Size: 345 Bytes

Versions: 6

Compression:

Stored size: 345 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :pages, :only => :show, :collection => {:preview => :get}
  map.namespace(:admin) do |admin|
    admin.resources :pages, :has_many => :pages, :collection => {:preview => :post}, :member => {:preview => :put, :feature => [:get, :put], :move_up => :get, :move_down => :get}
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
beef-pages-0.1.0 config/routes.rb
beef-pages-0.1.1 config/routes.rb
beef-pages-0.1.2 config/routes.rb
beef-pages-0.1.3 config/routes.rb
beef-pages-0.1.4 config/routes.rb
beef-pages-0.1.5 config/routes.rb