app/controllers/catalog_controller.rb
File catalog_controller.rb
has 373 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class CatalogController < ApplicationController
include BlacklightAdvancedSearch::Controller
include BlacklightRangeLimit::ControllerOverride
include Blacklight::Catalog
include Blacklight::Configurable
- Create a ticketCreate a ticket
Method index
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def index
cache_key = nil
# No other params presents indicates we are on the homepage
if params.keys.eql? %w[controller action]
cache_key = "#{params['controller']}/#{params['action']}facet_query"
- Create a ticketCreate a ticket