lib/reflexive/application.rb in reflexive-0.1.1 vs lib/reflexive/application.rb in reflexive-0.1.2

- old
+ new

@@ -11,10 +11,11 @@ require "reflexive/columnizer" require "reflexive/constantize" require "reflexive/descendants" require "reflexive/methods" require "reflexive/method_lookup" +require "reflexive/core_ext/reflexive_url" if ENV["SINATRA_RELOADER"] require "rails/all" require "arel" require File.expand_path("../../../spec/integration_spec_fixture", __FILE__) @@ -40,9 +41,13 @@ class << self def root require "pathname" Pathname("../../../").expand_path(__FILE__) + end + + def default_url_prefix + "http://localhost:3000" end end set :public, self.root + "public" set :views, self.root + "views" \ No newline at end of file