fix error
This commit is contained in:
parent
41e54c2f4d
commit
910f6edd9b
|
@ -6,6 +6,7 @@ module Archive
|
||||||
require "#{ENV['PWD']}/app/models/category"
|
require "#{ENV['PWD']}/app/models/category"
|
||||||
require "#{ENV['PWD']}/app/models/module_app"
|
require "#{ENV['PWD']}/app/models/module_app"
|
||||||
|
|
||||||
|
OrbitApp.registration "Archive", :type => "ModuleApp" do
|
||||||
categories_temp = ModuleApp.where(:key => "archive").first.categories
|
categories_temp = ModuleApp.where(:key => "archive").first.categories
|
||||||
|
|
||||||
categories_temp.each do |category|
|
categories_temp.each do |category|
|
||||||
|
@ -18,7 +19,7 @@ module Archive
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
OrbitApp.registration "Archive", :type => "ModuleApp" do
|
|
||||||
module_label "archive.archive"
|
module_label "archive.archive"
|
||||||
base_url File.expand_path File.dirname(__FILE__)
|
base_url File.expand_path File.dirname(__FILE__)
|
||||||
widget_methods ["widget","group_by_category"]
|
widget_methods ["widget","group_by_category"]
|
||||||
|
|
Loading…
Reference in New Issue