app/controllers/workflow_repository_controller.rb
Class WorkflowRepositoryController
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class WorkflowRepositoryController < ApplicationController
before_action :check_prototype
before_action :check_privileges
before_action :get_session_data
- Create a ticketCreate a ticket
Method button
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def button
case params[:pressed]
when 'embedded_configuration_script_source_refresh' # refresh repositories
repository_refresh
when "embedded_configuration_script_source_edit" # edit repository
- Create a ticketCreate a ticket