Revert "Handle back & forward events"

This reverts commit f80745b7db.
This commit is contained in:
Dmitriy Zaporozhets 2011-12-20 08:49:14 +02:00
parent f80745b7db
commit 6bdcaccb46
4 changed files with 16 additions and 13 deletions

View file

@ -7,7 +7,7 @@ class DashboardController < ApplicationController
respond_to do |format|
format.html
format.js
format.js { no_cache_headers }
end
end
@ -18,7 +18,7 @@ class DashboardController < ApplicationController
respond_to do |format|
format.html
format.js
format.js { no_cache_headers }
end
end
@ -32,7 +32,7 @@ class DashboardController < ApplicationController
respond_to do |format|
format.html
format.js
format.js { no_cache_headers }
format.atom { render :layout => false }
end
end

View file

@ -26,7 +26,10 @@ class RefsController < ApplicationController
def tree
respond_to do |format|
format.html
format.js
format.js do
# disable cache to allow back button works
no_cache_headers
end
end
rescue
return render_404