快速编辑博客的路由添加

This commit is contained in:
yafeilee 2014-04-01 19:43:48 +08:00
parent 1e1aa79820
commit 3f21743666
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
WBlog::Application.routes.draw do
root :to => 'blogs#index'
resources :blogs, :only=>[:index, :show] do
resources :blogs, :only=>[:index, :show, :edit] do
collection do
get :rss
end