app/controllers/services_controller.rb
Method has too many lines. [8/7] (https://github.com/bbatsov/ruby-style-guide#short-methods) Open
Open
def index
index_instance_vars_from_params
index_services_and_markers
response.headers.delete 'X-Frame-Options'
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.