Merge branch 'master' into 'master'
已发布实训更新后,TPI提示的“更新通知”,点击立即更新,请增加等待提示 已发布实训更新后,TPI提示的“更新通知”,点击立即更新,请增加等待提示 See merge request !24
This commit is contained in:
commit
e6e9df907d
|
|
@ -83,7 +83,9 @@ class BlogsController < ApplicationController
|
|||
:author_id=>params[:id])
|
||||
end
|
||||
def destory
|
||||
|
||||
@blog = Blog.find(params[:id])
|
||||
@blog.update_attribute(:homepage_id, params[:article_id])
|
||||
redirect_to user_path(params[:user_id])
|
||||
end
|
||||
def edit
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue