diff --git a/app/controllers/projects/application_controller.rb b/app/controllers/projects/application_controller.rb
index ee88d49b40036a6fa125e74dcd0dd1a6f3bd048a..e8af4c092dadbac47066a61f853d757c3b175690 100644
--- a/app/controllers/projects/application_controller.rb
+++ b/app/controllers/projects/application_controller.rb
@@ -1,6 +1,7 @@
 class Projects::ApplicationController < ApplicationController
   before_action :project
   before_action :repository
+  before_action :ci_enabled, only: :ci
   layout 'project'
 
   def authenticate_user!
@@ -25,4 +26,10 @@ class Projects::ApplicationController < ApplicationController
       )
     end
   end
+
+  private
+
+  def ci_enabled
+    return render_404 unless @project.gitlab_ci?
+  end
 end
diff --git a/app/views/projects/graphs/ci.html.haml b/app/views/projects/graphs/ci.html.haml
index 2e07b67f8c04eb72d9f853073ee4d99f285694b8..4f69cc64f7c9acf616984698ddd1c3672123a649 100644
--- a/app/views/projects/graphs/ci.html.haml
+++ b/app/views/projects/graphs/ci.html.haml
@@ -1,4 +1,5 @@
 - page_title "Continuous Integration", "Graphs"
+= render "header_title"
 = render 'head'
 #charts.ci-charts
   = render 'projects/graphs/ci/builds'