fixing default widget error when needs image
This commit is contained in:
parent
39f715319b
commit
49e289e0fd
|
@ -32,9 +32,10 @@ class ModuleApp
|
||||||
|
|
||||||
#>>>>>>>>>>>>> remove after app config applied
|
#>>>>>>>>>>>>> remove after app config applied
|
||||||
def get_default_widget
|
def get_default_widget
|
||||||
{:query=>'Bulletin.all',:image=>nil}
|
{:query=>'Bulletin.all',:image=> 'image'}
|
||||||
end
|
end
|
||||||
#<<<<<<<<<<<<
|
#<<<<<<<<<<<<@@
|
||||||
|
|
||||||
|
|
||||||
def is_manager?(user)
|
def is_manager?(user)
|
||||||
managing_users.include?(user)
|
managing_users.include?(user)
|
||||||
|
|
Reference in New Issue