Sha256: 313c36c9a0a13394a0060ccad965d4bcf48abbb1e9a946c1c8e54572ed219525

Contents?: true

Size: 367 Bytes

Versions: 6

Compression:

Stored size: 367 Bytes

Contents

class MailersController < ApplicationController
#  layout "mailers"

  init_gettext "rails_test"
  
  def index
  end

  def singlepart
    Mailer.deliver_singlepart
    render :text => Mailer.create_singlepart.encoded, :layout => true
  end

  def multipart
    Mailer.deliver_multipart
    render :text => Mailer.create_multipart.encoded, :layout => true
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gettext_rails-2.1.0 test/app/controllers/mailers_controller.rb
gettext_rails-2.0.0 test/app/controllers/mailers_controller.rb
gettext_rails-2.0.1 test/app/controllers/mailers_controller.rb
gettext_rails-2.0.2 test/app/controllers/mailers_controller.rb
gettext_rails-2.0.3 test/app/controllers/mailers_controller.rb
gettext_rails-2.0.4 test/app/controllers/mailers_controller.rb