lib/controller.rb in twilio_contactable-0.8.1 vs lib/controller.rb in twilio_contactable-0.8.2
- old
+ new
@@ -1,9 +1,9 @@
module TwilioContactable
module Controller
def self.included(controller)
- class << controller
+ controller.instance_eval do
# the developer should specify which model(s) will be sought
# when the app receives incoming requests.
# See the 'Controller' part of the README for details
protected
def twilio_contactable(*klasses)
\ No newline at end of file