app/controllers/lookbook/application_controller.rb in lookbook-1.0.0.beta.4 vs app/controllers/lookbook/application_controller.rb in lookbook-1.0.0.beta.5
- old
+ new
@@ -15,10 +15,10 @@
def index
landing = Lookbook.pages.find(&:landing) || Lookbook.pages.first
if landing.present?
redirect_to lookbook_page_path(landing.lookup_path)
else
- render "lookbook/index", layout: Lookbook.previews.any? ? "lookbook/application" : "lookbook/shell"
+ render "lookbook/index"
end
end
protected