Skip to content
Browse files

Add UTF-8 markers; fix typo in model require

  • Loading branch information...
1 parent eeee3fe commit c31ec080b895b49a5f0655f2534e829428c88bec @Phrogz committed
Showing with 3 additions and 1 deletion.
  1. +1 −1 models/init.rb
  2. +1 −0 routes/init.rb
  3. +1 −0 routes/main.rb
View
2 models/init.rb
@@ -3,4 +3,4 @@
# DB = Sequel.postgres 'dbname', user:'bduser', password:'dbpass', host:'localhost'
# DB << "SET CLIENT_ENCODING TO 'UTF8';"
-#require_relative 'users'
+require_relative 'user'
View
1 routes/init.rb
@@ -1 +1,2 @@
+# encoding: utf-8
require_relative 'main'
View
1 routes/main.rb
@@ -1,3 +1,4 @@
+# encoding: utf-8
class MyApp < Sinatra::Application
get "/" do
@title = "Welcome to MyApp"

0 comments on commit c31ec08

Please sign in to comment.
Something went wrong with that request. Please try again.