Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rfwatson/routing_report

Identify unused routes and controller actions in Rails apps
https://github.com/rfwatson/routing_report

cruft rails routing

Last synced: 3 months ago
JSON representation

Identify unused routes and controller actions in Rails apps

Awesome Lists containing this project

README

        

# routing_report

Identify cruft in a Rails app.

Detects:

* routes with no matching controller actions
* controller actions with no matching routes

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'routing_report'
```

And then execute:

$ bundle

## Usage

`bundle exec rake routing_report:run`

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rfwatson/routing_report.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).