app/models/ability.rb
Method initialize
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(user, options = {})
controller_namespace = options[:controller_namespace] || ""
project = options[:project] || nil
alias_action :index, :show, :autocomplete, :parents, :childs, :tree, to: :read