First commit for archive

This commit is contained in:
Saurabh Bhatia committed 2014-05-08 14:03:33 +08:00
commit e869de2e2a
72 files changed
+976

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
require "archive/engine"
module Archive
end
+22
View File
@@ -0,0 +1,22 @@
module Archive
class Engine < ::Rails::Engine
initializer "archive" do
OrbitApp.registration "Archive", :type => "ModuleApp" do
module_label "archive.archive"
base_url File.expand_path File.dirname(__FILE__)
taggable "ArchiveFile"
categorizable
authorizable
side_bar do
head_label_i18n 'archive.archive', icon_class: "icons-archive"
available_for [:admin,:manager,:sub_manager]
active_for_controllers ({:private=>['archive_files']})
head_link_path "admin_archive_files_path"
end
end
end
end
end
+3
View File
@@ -0,0 +1,3 @@
module Archive
VERSION = "0.0.1"
end
+4
View File
@@ -0,0 +1,4 @@
# desc "Explaining what the task does"
# task :archive do
# # Task goes here
# end