Browse files

Erased warnings using erb

  • Loading branch information...
1 parent 2f9368b commit b0dda139cd82b3c4222d32c1c50d17b6b5e030ca @hajimehoshi committed Apr 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.rb
  2. 0 views/{index.erb → index.erubis}
View
4 main.rb
@@ -6,7 +6,7 @@
set :server, :thin
set :sessions, false
-set :erubis, escape_html: true
+set :erb, escape_html: true
set :streams, []
require './config'
@@ -62,7 +62,7 @@ def broadcast(values)
end
get '/', provides: :html do
- erubis(:index)
+ erb(:index)
end
before %r{^/users/([^/]+)} do
View
0 views/index.erb → views/index.erubis
File renamed without changes.

0 comments on commit b0dda13

Please sign in to comment.