From 56607ea35c676c1ae5ec34f5ecf626226e513028 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 14 Oct 2014 17:06:50 +0800 Subject: [PATCH] removed approval from this module --- app/controllers/admin/announcements_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/announcements_controller.rb b/app/controllers/admin/announcements_controller.rb index 0ef6610..5eaab41 100644 --- a/app/controllers/admin/announcements_controller.rb +++ b/app/controllers/admin/announcements_controller.rb @@ -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']