modified wiki uids

This commit is contained in:
Harry Bomrah 2017-06-13 19:18:59 +08:00
parent c460cb51f3
commit 5da4c80e48
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class Admin::WikiPagesController < OrbitAdminController
def create_on_the_go def create_on_the_go
wiki = WikiPage.create(wiki_page_params) wiki = WikiPage.create(wiki_page_params)
render :json => {"title" => wiki.title_translations, "id" => wiki.id.to_s}.to_json render :json => {"title" => wiki.title_translations, "id" => wiki.uid.to_s}.to_json
end end
def new def new