A proof of concept of having Sinatra like routes inside your controllers.
Since the router is gone, feel free to remove config/routes.rb
.
Then add the file below to lib/action_controller/inline_routes.rb
inside your app.
[monolog] | |
git=http://github.com/Seldaek/monolog.git | |
version=1.1.0 | |
[gelf-php] | |
git=http://github.com/mlehner/gelf-php.git | |
version=v1.0 |