Class: Spree::Admin::UploadsController

Inherits:
ResourceController
  • Object
show all
Defined in:
app/controllers/spree/admin/uploads_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
# File 'app/controllers/spree/admin/uploads_controller.rb', line 3

def index
 render :template => "spree/admin/uploads/#{request.xhr? ? 'picker' : 'index'}", :layout => !request.xhr?
end