Sha256: 2ee2f846dd6180acf8742c1c6e568412c53b4f8e203ac96307f92bca453a1ca2
Contents?: true
Size: 468 Bytes
Versions: 10
Compression:
Stored size: 468 Bytes
Contents
class E9Vendors::VendorsController < Admin::ResourceController include E9Vendors::Controller respond_to :html, :js carrierwave_column_methods :logo, :context => :admin add_resource_breadcrumbs def create; create! { collection_path } end def update; update! { collection_path } end def destroy; destroy! { collection_path } end protected ## # IR # def collection @vendors ||= end_of_association_chain.order(:name).all end end
Version data entries
10 entries across 10 versions & 1 rubygems