diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index a54662e..c09d118 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -715,7 +715,7 @@ class AnnouncementsController < ApplicationController "show_comment_flag" => '', "impressionist" => nil, "url_to_edit"=> '', - "external_link" => (announcement.is_external_link && !announcement.external_link.blank? ? announcement.external_link : nil) + "redirect_to" => (announcement.is_external_link && !announcement.external_link.blank? ? announcement.external_link : nil) } end @@ -811,7 +811,7 @@ class AnnouncementsController < ApplicationController "show_comment_flag" => show_comment_flag, "impressionist" => (announcement.is_preview ? nil : announcement), "url_to_edit"=>url_to_edit, - "external_link" => (announcement.is_external_link && !announcement.external_link.blank? ? announcement.external_link : nil) + "redirect_to" => (announcement.is_external_link && !announcement.external_link.blank? ? announcement.external_link : nil) } end