app/controllers/admin/assets_controller.rb in loft-0.2.9 vs app/controllers/admin/assets_controller.rb in loft-0.3.0
- old
+ new
@@ -1,5 +1,9 @@
-class Admin::AssetsController < Admin::BaseController
- mongosteen
+module Admin
+ class AssetsController < Admin::BaseController
+ mongosteen
- has_scope :by_type
+ has_scope :by_type
+ has_scope :images, type: :boolean
+ has_scope :not_images, type: :boolean
+ end
end