Initial commit for links module

This commit is contained in:
Saurabh Bhatia committed 2014-05-05 16:20:37 +08:00
commit 70c99b941d
72 files changed
+976

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
require "links/engine"
module Links
end
+21
View File
@@ -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
+3
View File
@@ -0,0 +1,3 @@
module Links
VERSION = "0.0.1"
end
+4
View File
@@ -0,0 +1,4 @@
# desc "Explaining what the task does"
# task :links do
# # Task goes here
# end