Page edit wasn't showing when module_app was nil
This commit is contained in:
parent
762c2f5e8a
commit
4906894fb5
|
@ -32,7 +32,7 @@ class Admin::PagesController < ApplicationController
|
||||||
@i18n_variable = @item.i18n_variable
|
@i18n_variable = @item.i18n_variable
|
||||||
@designs = Design.all.entries
|
@designs = Design.all.entries
|
||||||
@design = @item.design
|
@design = @item.design
|
||||||
@app_frontend_urls = @item.module_app.app_pages
|
@app_frontend_urls = @item.module_app.app_pages if @item.module_app
|
||||||
end
|
end
|
||||||
|
|
||||||
def create
|
def create
|
||||||
|
|
Reference in New Issue