app/controllers/lookbook/app_controller.rb in lookbook-0.3.3 vs app/controllers/lookbook/app_controller.rb in lookbook-0.3.4
- old
+ new
@@ -150,10 +150,10 @@
end
@nav
end
def previews
- Lookbook::Preview.all
+ Lookbook::Preview.all.sort_by(&:label)
end
def preview_controller
return @preview_controller if @preview_controller.present?
controller_class = Lookbook.config.preview_controller.constantize