config/initializers/routing_checker.rb
を作成します。
routing
に、index, show, create, update, delete
以外の、
アクションが設定されている場合、起動時に例外(RailsRoutingChecker::Error
)が発生します。
rails g routing_checker create
This will create:
config/initializers/routing_checker.rb
Add this line to your application's Gemfile:
gem 'rails_routing_checker', git: 'https://github.com/sogasusumu/rails_routing_checker.git'
And then execute:
$ bundle
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.