diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 769674b..df75c45 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -168,7 +168,7 @@ class AnnouncementsController < ApplicationController access_level = OrbitHelper.user_access_level? page = Page.where(:module => "announcement").first rescue nil - if !announcement.approved && (access_level != "manager" && access_level != "admin") + if !announcement.approved && (access_level != "manager" && access_level != "admin" && access_level != "sub_manager") return {} end page = Page.where(:module => "announcement").first rescue nil