mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Don't need the layout here
This commit is contained in:
parent
c9fc8f8021
commit
07bac9ef93
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ class CurrentAttributesIntegrationTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
app_file "app/controllers/customers_controller.rb", <<-RUBY
|
app_file "app/controllers/customers_controller.rb", <<-RUBY
|
||||||
class CustomersController < ApplicationController
|
class CustomersController < ApplicationController
|
||||||
|
layout false
|
||||||
|
|
||||||
def set_current_customer
|
def set_current_customer
|
||||||
Current.customer = Customer.new("david")
|
Current.customer = Customer.new("david")
|
||||||
render :index
|
render :index
|
||||||
|
|
Loading…
Reference in a new issue