redirect to referer_url after update
This commit is contained in:
parent
943a01091f
commit
20ca6213d1
|
@ -53,7 +53,7 @@ class Admin::WikiPagesController < OrbitAdminController
|
|||
def update
|
||||
wiki = WikiPage.find(params[:id])
|
||||
wiki.update_attributes(wiki_page_params)
|
||||
redirect_to admin_wiki_pages_path(:page_id => wiki.page.id)
|
||||
redirect_to params['referer_url']
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue