Module: Rails

Defined in:
lib/sails/rails.rb

Class Method Summary collapse

Class Method Details

.cacheObject


11
12
13
# File 'lib/sails/rails.rb', line 11

def self.cache
  Sails.cache
end

.envObject


7
8
9
# File 'lib/sails/rails.rb', line 7

def self.env
  Sails.env
end

.loggerObject


3
4
5
# File 'lib/sails/rails.rb', line 3

def self.logger
  Sails.logger
end

.rootObject


15
16
17
# File 'lib/sails/rails.rb', line 15

def self.root
  Sails.root
end