module $APPLICATION_UPCODE require 'rubyapp/session' class Session < RubyApp::Session def initialize(request) super(request) require File.join(File.dirname(__FILE__), %w[elements pages default_page]) pages.clear pages << $APPLICATION_UPCODE::Elements::Pages::DefaultPage.new end end end