Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Erased warnings using erb

  • Loading branch information...
commit b0dda139cd82b3c4222d32c1c50d17b6b5e030ca 1 parent 2f9368b
@hajimehoshi authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.