Skip to content

Commit

Permalink
Fix typo in "World"
Browse files Browse the repository at this point in the history
  • Loading branch information
Codcore committed Jun 18, 2015
1 parent 54d0f4e commit 1cf5007
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Here is classic 'Hello World' in Amethyst
```crystal
require "amethyst"
class WordController < Base::Controller
class WorldController < Base::Controller
actions :hello
view "hello", "#{__DIR__}/views", name
Expand All @@ -47,9 +47,9 @@ end
class HelloWorldApp < Base::App
routes.draw do
all "/", "word#hello"
get "/hello", "word#hello"
register WordController
all "/", "world#hello"
get "/hello", "world#hello"
register WorldController
end
end
Expand Down

0 comments on commit 1cf5007

Please sign in to comment.