diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 54d19af75119d4541f8b27ab66cc543bbcaf3056..c5c05e6f3d6573a44f8c6132d25e190abdce8abe 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 4c60facde8ceed8ed0df97fc7da92693c662b353..c84b17ff8c7b9a3009fded80f8ead1c831abe1da 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 %>