Module: Rutema::UI

Defined in:
lib/rutemaweb/ruport_formatter.rb,
lib/rutemaweb/ramaze_controller.rb

Defined Under Namespace

Modules: Settings, ViewUtilities Classes: MainController, StatisticsController, VerticalTableFormatter

Class Method Summary collapse

Class Method Details

.ramaze_settingsObject

Sets the values we need for public and view directories



124
125
126
127
# File 'lib/rutemaweb/ramaze_controller.rb', line 124

def self.ramaze_settings
  Ramaze::Global.public_root = File.expand_path(File.join(File.dirname(__FILE__),"public"))
  Ramaze::Global.view_root = File.expand_path(File.join(File.dirname(__FILE__),"view"))
end