From ca2643103b9b952961682c89b870b0331e0c847e Mon Sep 17 00:00:00 2001 From: Doug Youch Date: Wed, 6 Apr 2011 13:43:18 -0400 Subject: [PATCH] fixed rjs content type --- app/controllers/content_import_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/controllers/content_import_controller.rb b/app/controllers/content_import_controller.rb index 17c4ed64..a101a39f 100644 --- a/app/controllers/content_import_controller.rb +++ b/app/controllers/content_import_controller.rb @@ -3,6 +3,8 @@ require 'csv' class ContentImportController < WizardController # :nodoc: all + include RjsHelper + permit 'editor_content' @@deliminators = { 'semicolon' => ';', 'comma' => ',', 'colon' => ':', 'tab' => "\t" } @@ -13,6 +15,8 @@ class ContentImportController < WizardController # :nodoc: all [ 'confirm', 'Confirm' ], [ 'import', 'Import' ] ] + after_filter :set_rjs_content_type, :only => ['status'] + def index content_id = params[:path][0] cms_page_info([ [ 'Content', url_for(:controller => 'content', :action => 'index') ] ,