Initial commit for links module
This commit is contained in:
commit
70c99b941d
72 files changed
+976
No files matched your search
@@ -0,0 +1,4 @@
|
||||
require "links/engine"
|
||||
|
||||
module Links
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
module Links
|
||||
class Engine < ::Rails::Engine
|
||||
initializer "links" do
|
||||
OrbitApp.registration "Links", :type => "ModuleApp" do
|
||||
module_label "links.links"
|
||||
base_url File.expand_path File.dirname(__FILE__)
|
||||
|
||||
taggable "WebLink"
|
||||
categorizable
|
||||
authorizable
|
||||
|
||||
side_bar do
|
||||
head_label_i18n 'faq.faq', icon_class: "icons-link"
|
||||
available_for [:admin,:manager,:sub_manager]
|
||||
active_for_controllers ({:private=>['web_links']})
|
||||
head_link_path "admin_web_links_path"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
module Links
|
||||
VERSION = "0.0.1"
|
||||
end
|
||||
@@ -0,0 +1,4 @@
|
||||
# desc "Explaining what the task does"
|
||||
# task :links do
|
||||
# # Task goes here
|
||||
# end
|
||||
Reference in new issue
Block a user