lib/janus.rb in janus-0.6.0 vs lib/janus.rb in janus-0.7.0
- old
+ new
@@ -1,9 +1,10 @@
require 'active_support/core_ext/class'
require 'janus/config'
require 'janus/hooks'
require 'janus/strategies'
require 'janus/manager'
+require 'janus/rails' if defined?(Rails)
autoload :JanusHelper, 'janus/helper'
module Janus
class NotAuthenticated < StandardError