Sha256: ab15531598886b58a3d1a9295fa168068d9687b47d31b13d88477a059c2d7ac4
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
class Tramway::Event::EventsController < Tramway::Event::ApplicationController layout 'tramway/landing/application' def show @event = ::Tramway::Event::EventDecorator.decorate ::Tramway::Event::Event.find params[:id] form_class = ::Tramway::Core::ExtendableForm.new "ParticipantExtendedForm#{request.uuid.gsub('-', '')}", *@event.participant_form_fields.map(&:title).map(&:to_sym) @participant_form = form_class.new ::Tramway::Event::Participant.new end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tramway-event-0.5 | app/controllers/tramway/event/events_controller.rb |