Disables API on planning element journals controller.

pull/175/head
Martin Czuchra 12 years ago
parent 04c1d5e230
commit 0de9151b77
  1. 2
      app/controllers/planning_element_journals_controller.rb

@ -15,6 +15,7 @@ class PlanningElementJournalsController < ApplicationController
include ExtendedHTTP
before_filter :disable_api
before_filter :find_project_by_project_id
before_filter :find_planning_element_by_planning_element_id
before_filter :authorize
@ -25,7 +26,6 @@ class PlanningElementJournalsController < ApplicationController
@journals = @planning_element.journals
respond_to do |format|
format.html { render_404 }
format.api
end
end

Loading…
Cancel
Save