lib/webconsole/controller.rb in webconsole-0.0.2 vs lib/webconsole/controller.rb in webconsole-0.0.3

- old
+ new

@@ -1,12 +1,11 @@ require 'erb' require 'open-uri' module WebConsole class Controller - WEBCONSOLE_CONSTANTS = File.join(File.dirname(__FILE__), "constants") - require WEBCONSOLE_CONSTANTS - require MODULE_FILE + require_relative "constants" + require_relative "module" attr_reader :name def initialize(delegate = nil, erb_template_path = nil) @delegate = delegate \ No newline at end of file