Orbit/vendor/plugins/NewBlog/config/routes.rb

14 lines
297 B
Ruby
Raw Normal View History

2011-08-25 11:02:20 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :blog do
root :to => "posts#index"
2011-08-25 11:02:20 +00:00
resources :posts
resources :comments
match "widget_latest_post" => "posts#widget_latest_post"
match "widget_index" => "posts#widget_index"
2011-08-25 11:02:20 +00:00
end
end
end