Skip to content

Commit

Permalink
Added load path requirement to README
Browse files Browse the repository at this point in the history
  • Loading branch information
fredwu committed Jun 20, 2012
1 parent 1ae48d9 commit eea9576
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -29,6 +29,14 @@ Rails.application.routes.draw do
end
```

Add API Taster into the autoload paths in `application.rb`:

```ruby
config.autoload_paths += %W(
#{ApiTaster::Engine.root}
)
```

In `routes.rb`, define parameters for each API endpoint after the normal routes definition block. For example:

```ruby
Expand Down

0 comments on commit eea9576

Please sign in to comment.