Skip to content

Commit

Permalink
Merge pull request #51 from kiela/master
Browse files Browse the repository at this point in the history
Fixed problem with finding page templates (issue #38)
  • Loading branch information
steelThread committed May 24, 2013
2 parents a4cc10f + 232e477 commit 03a8f83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/redmon/app.rb
Expand Up @@ -7,6 +7,9 @@ class App < Sinatra::Base

helpers Redmon::Helpers

set :root, File.dirname(__FILE__)
set :views, Proc.new { File.join(root, "./views") }

use Rack::Static, {
:urls => [/\.css$/, /\.js$/],
:root => "#{root}/public",
Expand Down Expand Up @@ -53,4 +56,4 @@ class App < Sinatra::Base
end

end
end
end

0 comments on commit 03a8f83

Please sign in to comment.