Module: Kiss::ControllerAccessors

Includes:
KissAccessors
Included in:
Action, Mailer, Model, Model, Template
Defined in:
lib/kiss/accessors/controller.rb

Instance Method Summary collapse

Methods included from KissAccessors

#html_escape, #url_escape

Instance Method Details

#databaseObject



33
34
35
# File 'lib/kiss/accessors/controller.rb', line 33

def database
  controller.database
end

#environmentObject



21
22
23
# File 'lib/kiss/accessors/controller.rb', line 21

def environment
  controller.environment
end

#modelsObject Also known as: dbm



37
38
39
# File 'lib/kiss/accessors/controller.rb', line 37

def models
  controller.models
end

#public_dirObject



25
26
27
# File 'lib/kiss/accessors/controller.rb', line 25

def public_dir
  controller.public_dir
end

#upload_dirObject



29
30
31
# File 'lib/kiss/accessors/controller.rb', line 29

def upload_dir
  controller.upload_dir
end