Class: IshManager::ImageAssetsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/ish_manager/image_assets_controller.rb

Overview

trash?! vp 2023-05-10

Instance Method Summary collapse

Methods inherited from ApplicationController

#basic_auth, #home, #tinymce

Instance Method Details

#indexObject



7
8
9
10
# File 'app/controllers/ish_manager/image_assets_controller.rb', line 7

def index
  authorize! :index, Ish::ImageAsset
  @image_assets = Ish::ImageAsset.all.order_by( created_at: :desc )
end