Class: ProjectExceptionsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/project_exceptions_controller.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ApplicationController

#after_sign_in_path_for, #api_authenticate!, #current_project, #expire_revision!, #followed_projects, #no_cache, #read_revision, #require_login, #return_or_cache_revision!, #revision, #save_current_project, #set_current_project, #unfurling?

Methods included from UrlHelper

#edit_release_path, #edit_release_url, #feature_path, #github_commit_range_url, #github_commit_url, #github_project_url, #github_url?, #goldmine_case_number_url, #link_to_project_feature, #new_release_url, #release_path, #release_url, #releases_path

Instance Attribute Details

#projectObject (readonly)

Returns the value of attribute project.



3
4
5
# File 'app/controllers/project_exceptions_controller.rb', line 3

def project
  @project
end

Instance Method Details

#delete_severalObject



16
17
18
# File 'app/controllers/project_exceptions_controller.rb', line 16

def delete_several
  respond_with project.error_tracker.delete_problems(params[:problems])
end

#merge_severalObject



6
7
8
# File 'app/controllers/project_exceptions_controller.rb', line 6

def merge_several
  respond_with project.error_tracker.merge_problems(params[:problems])
end

#unmerge_severalObject



11
12
13
# File 'app/controllers/project_exceptions_controller.rb', line 11

def unmerge_several
  respond_with project.error_tracker.unmerge_problems(params[:problems])
end