Change layout to member backend page.
This commit is contained in:
parent
8dd6ba7468
commit
4671956309
|
@ -1,4 +1,4 @@
|
||||||
class Admin::PersonalPluginFieldsController < OrbitAdminController
|
class Admin::PersonalPluginFieldsController < OrbitMemberController
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
include Admin::PersonalPluginFieldsHelper
|
include Admin::PersonalPluginFieldsHelper
|
||||||
before_action :set_personal_plugin_field, only: [:show, :edit , :update, :destroy, :fields_setting, :update_fields_setting,:generate_plugin]
|
before_action :set_personal_plugin_field, only: [:show, :edit , :update, :destroy, :fields_setting, :update_fields_setting,:generate_plugin]
|
||||||
|
|
|
@ -2,7 +2,7 @@ require "yaml"
|
||||||
module PersonalPluginGenerator
|
module PersonalPluginGenerator
|
||||||
class Engine < ::Rails::Engine
|
class Engine < ::Rails::Engine
|
||||||
initializer "personal_plugin_generator" do
|
initializer "personal_plugin_generator" do
|
||||||
OrbitApp.registration "PersonalPluginGenerator", :type => "ModuleApp" do
|
OrbitApp.registration "PersonalPluginGenerator", :type => "OrbitMemberModule" do
|
||||||
base_url File.expand_path File.dirname(__FILE__)
|
base_url File.expand_path File.dirname(__FILE__)
|
||||||
categorizable
|
categorizable
|
||||||
authorizable
|
authorizable
|
||||||
|
|
Loading…
Reference in New Issue