remove spaces
This commit is contained in:
parent
f6a67fbad5
commit
fb40d27d1e
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ class ProjectsController < ApplicationController
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html # show.html.erb
|
format.html # show.html.erb
|
||||||
format.js do
|
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["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate"
|
||||||
response.headers["Pragma"] = "no-cache"
|
response.headers["Pragma"] = "no-cache"
|
||||||
response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT"
|
response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT"
|
||||||
|
|
Loading…
Reference in a new issue