make default widget works without init
This commit is contained in:
1 parent
1856d2395d
commit
a70110f787
7 files changed
+115
-1
No files matched your search
@@ -30,6 +30,12 @@ class ModuleApp
|
||||
|
||||
before_save :set_key
|
||||
|
||||
#>>>>>>>>>>>>> remove after app config applied
|
||||
def get_default_widget
|
||||
{:query=>'Bulletin.all',:image=>nil}
|
||||
end
|
||||
#<<<<<<<<<<<<
|
||||
|
||||
def is_manager?(user)
|
||||
managing_users.include?(user)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user