Class: FastTrack::Config

Inherits:
Hash
  • Object
show all
Defined in:
lib/fast_track/config.rb

Overview

TODO: This should take a YAML file and merge it with the defaults!

Instance Method Summary collapse

Instance Method Details

#profile_classObject



22
23
24
# File 'lib/fast_track/config.rb', line 22

def profile_class
  self[:profile_class] || "profile"
end

#skip_viewsObject



26
27
28
# File 'lib/fast_track/config.rb', line 26

def skip_views
  self[:skip_views] || false
end

#user_classObject

The user class for Devise. By default it’s just “User”



18
19
20
# File 'lib/fast_track/config.rb', line 18

def user_class
  self[:user_class] || "user"
end