lib/cadenero.rb in cadenero-0.0.2.b4 vs lib/cadenero.rb in cadenero-0.0.2.b5
- old
+ new
@@ -24,15 +24,15 @@
require "cadenero/engine"
require 'warden'
require 'apartment'
module Cadenero
- mattr_accessor :base_path,
- :user_class,
- :default_account_name,
- :default_account_subdomain,
- :default_user_email,
- :default_user_password
+ mattr_accessor :base_path,
+ :user_class,
+ :default_account_name,
+ :default_account_subdomain,
+ :default_user_email,
+ :default_user_password
class << self
# @return the base path for the Cadenero named routes
def base_path
@@base_path ||= Rails.application.routes.named_routes[:cadenero].path