fixing default widget error when needs image

This commit is contained in:
Fu Matthew 2013-01-03 20:07:05 +08:00
parent 39f715319b
commit 49e289e0fd
1 changed files with 3 additions and 2 deletions

View File

@ -32,9 +32,10 @@ class ModuleApp
#>>>>>>>>>>>>> remove after app config applied
def get_default_widget
{:query=>'Bulletin.all',:image=>nil}
{:query=>'Bulletin.all',:image=> 'image'}
end
#<<<<<<<<<<<<
#<<<<<<<<<<<<@@
def is_manager?(user)
managing_users.include?(user)