Permalink
Browse files

Merge pull request #79 from afogel/fix_file_constant

fix broken code example (__FILE__ constant had typo)
  • Loading branch information...
2 parents c5f2417 + 418cebd commit 1470006978366284281377e436280159ac930954 @locks locks committed Jun 8, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/Organizing_your_application.markdown
@@ -51,7 +51,7 @@ class Server < Sinatra::Base
end
# Load all route files
-Dir[File.dirname(__FILE___) + "/app/routes/**"].each do |route|
+Dir[File.dirname(__FILE__) + "/app/routes/**"].each do |route|
require route
end
```

0 comments on commit 1470006

Please sign in to comment.