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

33 lines
763 B
Ruby
Raw Permalink Normal View History

2012-10-08 08:20:21 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :personal_diploma do
namespace :back_end do
match 'diploma_setting' => "diplomas#diploma_setting" ,:as => :diploma_setting
resources :diplomas do
collection do
get 'delete'
end
end
resources :tags
end
namespace :front_end do
resources :diplomas
end
namespace :plugin do
resources :diplomas
end
namespace :widget do
match "diplomas" => "diplomas#index"
match "home_list" => "diplomas#home_list"
match "reload_diplomas" => "diplomas#reload_diplomas"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end