Orbit/vendor/built_in_modules/page_content/config/routes.rb

18 lines
520 B
Ruby
Raw Normal View History

2012-02-21 11:22:42 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :page_content do
namespace :back_end do
root :to => "page_contexts#index"
resources :page_contexts
2012-02-23 07:13:36 +00:00
match "view/:page_id" => "page_contexts#view" ,:as => :view
end
namespace :front_end do
root :to => "page_contexts#index"
resources :page_contexts
match "page_contexts/:page_id" => "page_contexts#index"
2012-02-21 11:22:42 +00:00
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end