Commit fb40d27d1e8be0b516e3cf101995b54052872f97
1 parent
f6a67fba
Exists in
master
and in
4 other branches
remove spaces
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/controllers/projects_controller.rb
@@ -115,7 +115,7 @@ class ProjectsController < ApplicationController | @@ -115,7 +115,7 @@ class ProjectsController < ApplicationController | ||
115 | respond_to do |format| | 115 | respond_to do |format| |
116 | format.html # show.html.erb | 116 | format.html # show.html.erb |
117 | format.js do | 117 | format.js do |
118 | - # diasbale cache to allow back button works | 118 | + # disable cache to allow back button works |
119 | response.headers["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate" | 119 | response.headers["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate" |
120 | response.headers["Pragma"] = "no-cache" | 120 | response.headers["Pragma"] = "no-cache" |
121 | response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT" | 121 | response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT" |
app/views/projects/empty.html.erb
@@ -28,7 +28,7 @@ eos | @@ -28,7 +28,7 @@ eos | ||
28 | <h2>Existing Git Repo?</h2> | 28 | <h2>Existing Git Repo?</h2> |
29 | <% exist_repo_setup_str = <<eos | 29 | <% exist_repo_setup_str = <<eos |
30 | cd existing_git_repo | 30 | cd existing_git_repo |
31 | -git remote add origin #{@project.url_to_repo} | 31 | +git remote add origin #{@project.url_to_repo} |
32 | git push -u origin master | 32 | git push -u origin master |
33 | eos | 33 | eos |
34 | %> | 34 | %> |