| Path: | CHANGELOG |
| Last Update: | Thu Dec 09 19:54:12 +0000 2010 |
r404 : called when a controller was not found r500 : called on uncaught exception r501 : called on undefined method
All of those can be overridden at your taste.
Tepee.get(:Index) #=> (Response)
Blog.post(:Delete, id) #=> (Response)
Blog.post(:Login, :input => {'username' => 'admin', 'password' => 'camping'})
#=> #<Blog::Controllers::Login @user=... >
Blog.get(:Info, :env => {:HTTP_HOST => 'wagon'})
#=> #<Blog::Controllers::Info @env={'HTTP_HOST'=>'wagon'} ...>
database:
adapter: mysql
username: camping
socket: /tmp/mysql.sock
password: NOFORESTFIRES
database: camping