Sha256: 6ebeaea06fe54660165fcd241726cf03f574394960d090617e71e5716e09bb5d
Contents?: true
Size: 256 Bytes
Versions: 4
Compression:
Stored size: 256 Bytes
Contents
class HostedEvents::DiscountsController < ApplicationController before_action :set_event include LazyCrud set_resource_parent Event set_param_whitelist(:name, :amount) def set_event @event = Event.find(params[:hosted_event_id]) end end
Version data entries
4 entries across 4 versions & 1 rubygems