_plugins/TeamTag.rb
Method render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def render(context)
team = context.registers[:site].collections["team"].docs
ordering_values = team.collect { |member| member["ordering"] }.uniq.sort
grouped_team = ordering_values.collect do |ordering_value|
team.select { |member| member["ordering"] == ordering_value }
- Create a ticketCreate a ticket