mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-22 07:18:53 -05:00
commit
74beed307c
@ -10,7 +10,7 @@ class Sinatra::Request
|
|||||||
end
|
end
|
||||||
|
|
||||||
class MailCatcher::Web < Sinatra::Base
|
class MailCatcher::Web < Sinatra::Base
|
||||||
set :root, Pathname.new(__FILE__).dirname.parent.parent
|
set :root, File.expand_path("#{__FILE__}/../../..")
|
||||||
set :haml, :format => :html5
|
set :haml, :format => :html5
|
||||||
|
|
||||||
get '/' do
|
get '/' do
|
||||||
|
Loading…
Reference in New Issue
Block a user