First push.

This commit is contained in:
bohung committed 2021-02-27 12:19:24 +08:00
commit 62a8e98ced
163 files changed
+3744

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
require "personal_plugin_generator/engine"
module PersonalPluginGenerator
end
+23
View File
@@ -0,0 +1,23 @@
require "yaml"
module PersonalPluginGenerator
class Engine < ::Rails::Engine
initializer "personal_plugin_generator" do
OrbitApp.registration "PersonalPluginGenerator", :type => "ModuleApp" do
base_url File.expand_path File.dirname(__FILE__)
categorizable
authorizable
side_bar do
head_label_i18n 'personal_plugin_generator.personal_plugin_generator', icon_class: "icons-graduation"
available_for "users"
active_for_controllers (['admin/personal_plugin_fields'])
head_link_path "admin_personal_plugin_fields_path"
context_link 'personal_plugin_generator.personal_plugin_generator',
:link_path=>"admin_personal_plugin_fields_path" ,
:priority=>1,
:active_for_action=>{'admin/personal_plugin_fields'=>'index'},
:available_for => 'users'
end
end
end
end
end
+3
View File
@@ -0,0 +1,3 @@
module PersonalPluginGenerator
VERSION = "0.0.1"
end
@@ -0,0 +1,4 @@
# desc "Explaining what the task does"
# task :personal_plugin_generator do
# # Task goes here
# end