end
def production_layout
- Pettanr::Application.test_layout = false
+ MagicNumber['test_layout'] = false
respond_to do |format|
format.html { render text: 'production', status: 200 }
end
end
def test_layout
- Pettanr::Application.test_layout = 'test'
+ MagicNumber['test_layout'] = 'test'
respond_to do |format|
format.html { render text: 'test', status: 200 }
end