removed approval from this module
This commit is contained in:
parent
fce7ca7a13
commit
56607ea35c
|
@ -46,9 +46,9 @@ class Admin::AnnouncementsController < OrbitAdminController
|
||||||
bulletin = Bulletin.new(bulletin_params)
|
bulletin = Bulletin.new(bulletin_params)
|
||||||
bulletin.create_user_id = current_user.id
|
bulletin.create_user_id = current_user.id
|
||||||
bulletin.update_user_id = current_user.id
|
bulletin.update_user_id = current_user.id
|
||||||
if user_can_approve?
|
# if user_can_approve?
|
||||||
bulletin.approved = true
|
bulletin.approved = true
|
||||||
end
|
# end
|
||||||
bulletin.save
|
bulletin.save
|
||||||
build_email(bulletin)
|
build_email(bulletin)
|
||||||
redirect_to params['referer_url']
|
redirect_to params['referer_url']
|
||||||
|
|
Loading…
Reference in New Issue