From fb40d27d1e8be0b516e3cf101995b54052872f97 Mon Sep 17 00:00:00 2001 From: VSizov <fk@sphere.com> Date: Fri, 28 Oct 2011 11:34:30 +0300 Subject: [PATCH] remove spaces --- app/controllers/projects_controller.rb | 2 +- app/views/projects/empty.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 54d19af7511..c5c05e6f3d6 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -115,7 +115,7 @@ class ProjectsController < ApplicationController respond_to do |format| format.html # show.html.erb format.js do - # diasbale cache to allow back button works + # disable cache to allow back button works response.headers["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate" response.headers["Pragma"] = "no-cache" response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT" diff --git a/app/views/projects/empty.html.erb b/app/views/projects/empty.html.erb index 4c60facde8c..c84b17ff8c7 100644 --- a/app/views/projects/empty.html.erb +++ b/app/views/projects/empty.html.erb @@ -28,7 +28,7 @@ eos <h2>Existing Git Repo?</h2> <% exist_repo_setup_str = <<eos cd existing_git_repo -git remote add origin #{@project.url_to_repo} +git remote add origin #{@project.url_to_repo} git push -u origin master eos %> -- GitLab