lib/great_pretender/controller.rb in great_pretender-0.1.2 vs lib/great_pretender/controller.rb in great_pretender-0.1.3
- old
+ new
@@ -9,10 +9,10 @@
base.helper_method :mockup_root
base.helper GreatPretender::MockupsHelper
end
def index
- render template: 'great_pretender/index'
+ render template: 'great_pretender/index', layout: GreatPretender.config.default_layout
end
def show
if mockup
render template: mockup.template, layout: mockup.layout