lib/enju_event.rb in enju_event-0.1.19 vs lib/enju_event.rb in enju_event-0.2.0.beta.1

- old
+ new

@@ -1,23 +1,4 @@ require "enju_event/engine" module EnjuEvent - def self.included(base) - base.extend(ClassMethods) - end - - module ClassMethods - def enju_event - include EnjuEvent::InstanceMethods - end - end - - module InstanceMethods - private - - def get_event - @event = Event.find(params[:event_id]) if params[:event_id] - end - end end - -ActionController::Base.send(:include, EnjuEvent)