orbit-member/config/routes.rb

21 lines
508 B
Ruby
Raw Normal View History

2014-01-15 10:46:50 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :member do
namespace :back_end do
resources :member_lists do
collection do
get 'delete'
end
end
end
namespace :front_end do
match "member_lists" => "member_lists#index"
resources :member_lists
end
namespace :widget do
match "index" => "member_lists#index"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end