Sha256: dc2f80033028a6fb73e12fa364344f026a2383de15c1c854811706f78622b89a

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

class Store::EventsController < Store::StoreController
  def show
    session[:last_event_id] = params[:id]
    @event = Event.storefront_find(params[:id], current_member)
  end

  def index
    @events = Event.for_storefront(@store_organization, current_member)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.4 app/controllers/store/events_controller.rb
artfully_ose-1.2.0.pre.3 app/controllers/store/events_controller.rb
artfully_ose-1.2.0.pre.2 app/controllers/store/events_controller.rb
artfully_ose-1.2.0.pre.1 app/controllers/store/events_controller.rb
artfully_ose-1.2.0.pre app/controllers/store/events_controller.rb