Go to file
Rob Watson be0036d747 routes_without_actions: Consider all public instance methods 2018-01-18 19:31:35 +00:00
bin Initial commit 2017-07-20 19:22:17 +01:00
lib routes_without_actions: Consider all public instance methods 2018-01-18 19:31:35 +00:00
spec Initial commit 2017-07-20 19:22:17 +01:00
.gitignore Initial commit 2017-07-20 19:22:17 +01:00
.rspec Initial commit 2017-07-20 19:22:17 +01:00
.travis.yml Initial commit 2017-07-20 19:22:17 +01:00
Gemfile Initial commit 2017-07-20 19:22:17 +01:00
LICENSE.txt Initial commit 2017-07-20 19:22:17 +01:00
README.md Initial commit 2017-07-20 19:22:17 +01:00
Rakefile Initial commit 2017-07-20 19:22:17 +01:00
routing_report.gemspec Add missing dependency 2018-01-18 19:30:39 +00:00

README.md

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:

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.