aboutsummaryrefslogblamecommitdiffstats
path: root/config/routes.rb
blob: e47fa000a58df68e652d5fda1e3ef169fdcea7a4 (plain) (tree)
1
2
3
4
5
6
7






                                                                            
ActionController::Routing::Routes.draw do |map|
  map.resources :blog_posts, :as => :blog

  map.namespace(:admin, :path_prefix => 'refinery') do |admin|
    admin.resources :blog_posts, :collection => {:update_positions => :post}
  end
end