fix some bug
This commit is contained in:
1 parent
b322731081
commit
efcd1f2928
4 files changed
+10
-10
No files matched your search
@@ -2,23 +2,23 @@ require "yaml"
|
||||
module Patchfile
|
||||
class Engine < ::Rails::Engine
|
||||
initializer "patchfile" do
|
||||
OrbitApp.registration "Patchfile", :type => "ModuleApp" do
|
||||
module_label "Patchfile.Patchfile"
|
||||
OrbitApp.registration "patchfile", :type => "ModuleApp" do
|
||||
module_label "patchfile.Patchfile"
|
||||
base_url File.expand_path File.dirname(__FILE__)
|
||||
widget_methods ["widget","random_Patchfile_widget", "tag_cloud"]
|
||||
widget_settings [{"data_count"=>30}]
|
||||
taggable "Patchfile"
|
||||
taggable "patchfilefield"
|
||||
categorizable
|
||||
authorizable
|
||||
frontend_enabled
|
||||
data_count 1..30
|
||||
side_bar do
|
||||
head_label_i18n 'Patchfile.Patchfile', icon_class: "icons-megaphone"
|
||||
head_label_i18n 'patchfile.patchfile', icon_class: "icons-megaphone"
|
||||
available_for "users"
|
||||
active_for_controllers (['admin/patchfiles'])
|
||||
head_link_path "admin_patchfiles_path"
|
||||
|
||||
context_link 'Patchfile.Patchfile',
|
||||
context_link 'patchfile.patchfile',
|
||||
:link_path=>"admin_patchfiles_path" ,
|
||||
:priority=>1,
|
||||
:active_for_action=>{'admin/patchfiles'=>'index'},
|
||||
|
||||
Reference in new issue
Block a user