Sha256: 9f5b51ed35765f8bbd8523618c6c74e0728d19055a9d9bd6009fc035a58bdcc3

Contents?: true

Size: 204 Bytes

Versions: 11

Compression:

Stored size: 204 Bytes

Contents

module EnjuEvent
  module Controller

    private

    def get_event
      if params[:event_id]
        @event = Event.find(params[:event_id])
        authorize @event, :show?
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_event-0.3.5 app/controllers/concerns/enju_event/controller.rb
enju_event-0.4.0.rc.1 app/controllers/concerns/enju_event/controller.rb
enju_event-0.3.4 app/controllers/concerns/enju_event/controller.rb
enju_event-0.3.3 app/controllers/concerns/enju_event/controller.rb
enju_event-0.4.0.beta.2 app/controllers/concerns/enju_event/controller.rb
enju_event-0.4.0.beta.1 app/controllers/concerns/enju_event/controller.rb
enju_event-0.3.2 app/controllers/concerns/enju_event/controller.rb
enju_event-0.3.1 app/controllers/concerns/enju_event/controller.rb
enju_event-0.3.0 app/controllers/concerns/enju_event/controller.rb
enju_event-0.3.0.rc.1 app/controllers/concerns/enju_event/controller.rb
enju_event-0.3.0.beta.1 app/controllers/concerns/enju_event/controller.rb