module Devise

def self.include_helpers(scope)

Include helpers in the given scope to AC and AV.
def self.include_helpers(scope)
  ActiveSupport.on_load(:action_controller) do
    include scope::Helpers if defined?(scope::Helpers)
    include scope::UrlHelpers
  end
  ActiveSupport.on_load(:action_view) do
    include scope::UrlHelpers
  end
end