app/controllers/ahoy/messages_controller.rb in ahoy_email-0.0.2 vs app/controllers/ahoy/messages_controller.rb in ahoy_email-0.1.0

- old
+ new

@@ -25,10 +25,10 @@ end protected def set_message - @message = Ahoy::Message.where(token: params[:id]).first + @message = AhoyEmail.message_model.where(token: params[:id]).first end end end