Disables API on project associations controller.

pull/175/head
Martin Czuchra 12 years ago
parent 11516673fa
commit ab78885d30
  1. 2
      app/controllers/project_associations_controller.rb

@ -13,6 +13,7 @@ class ProjectAssociationsController < ApplicationController
unloadable
helper :timelines
before_filter :disable_api
before_filter :find_project_by_project_id
before_filter :authorize
before_filter :check_allows_association
@ -61,7 +62,6 @@ class ProjectAssociationsController < ApplicationController
check_visibility
respond_to do |format|
format.api
end
end

Loading…
Cancel
Save