diff --git a/lib/mail_catcher/web.rb b/lib/mail_catcher/web.rb index 64fb513..d84bd91 100644 --- a/lib/mail_catcher/web.rb +++ b/lib/mail_catcher/web.rb @@ -10,7 +10,7 @@ class Sinatra::Request end class MailCatcher::Web < Sinatra::Base - set :root, Pathname.new(__FILE__).dirname.parent.parent + set :root, File.expand_path("#{__FILE__}/../../..") set :haml, :format => :html5 get '/' do