@@notification_tests = []
@@notification_tests.push lambda { |controller, current_user|
+ return nil if Rails.configuration.shell_in_a_box_url
AuthorizedKey.limit(1).where(authorized_user_uuid: current_user.uuid).each do
return nil
end
{collections: c, owners: own}
end
+ helper_method :my_toplevel_projects
+ def my_toplevel_projects
+ @my_toplevel_projects ||= Group.
+ filter([['group_class','=','project'], ['owner_uuid', '=', current_user.uuid]]).order('name')
+ end
+
helper_method :my_project_tree
def my_project_tree
build_project_trees