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

14 lines
297 B
Ruby
Raw Normal View History

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