removed approval from this module

This commit is contained in:
Harry Bomrah 2014-10-14 17:06:50 +08:00
parent fce7ca7a13
commit 56607ea35c
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ class Admin::AnnouncementsController < OrbitAdminController
bulletin = Bulletin.new(bulletin_params)
bulletin.create_user_id = current_user.id
bulletin.update_user_id = current_user.id
if user_can_approve?
# if user_can_approve?
bulletin.approved = true
end
# end
bulletin.save
build_email(bulletin)
redirect_to params['referer_url']