This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-08-25 11:02:20 +00:00
|
|
|
Rails.application.routes.draw do
|
|
|
|
|
|
|
|
namespace :panel do
|
|
|
|
namespace :blog do
|
2011-10-20 02:06:06 +00:00
|
|
|
root :to => "posts#index"
|
2011-08-25 11:02:20 +00:00
|
|
|
resources :posts
|
|
|
|
resources :comments
|
2011-10-20 02:06:06 +00:00
|
|
|
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
|