Skip to content

Commit

Permalink
fixed rjs content type
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Youch committed Apr 6, 2011
1 parent 3345b06 commit ca26431
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/content_import_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
require 'csv'

class ContentImportController < WizardController # :nodoc: all
include RjsHelper

permit 'editor_content'

@@deliminators = { 'semicolon' => ';', 'comma' => ',', 'colon' => ':', 'tab' => "\t" }
Expand All @@ -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') ] ,
Expand Down

0 comments on commit ca26431

Please sign in to comment.