Browse Source

FIX get branches bug

pull/278/head
Jasder 5 years ago
parent
commit
cb90e1a13f
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      app/controllers/issues_controller.rb

+ 1
- 2
app/controllers/issues_controller.rb View File

@@ -6,7 +6,6 @@ class IssuesController < ApplicationController
before_action :check_project_public, only: [:index ,:show, :copy, :index_chosen, :close_issue]

before_action :set_issue, only: [:edit, :update, :destroy, :show, :copy, :close_issue, :lock_issue]
before_action :get_branches, only: [:new, :edit]

include ApplicationHelper
include TagChosenHelper
@@ -96,7 +95,7 @@ class IssuesController < ApplicationController
end

def new
@all_branches = get_branches
# @all_branches = get_branches
@issue_chosen = issue_left_chosen(@project, nil)
end



Loading…
Cancel
Save