branch/tag remember - to session instead of cookie
This commit is contained in:
parent
fc34fc86c6
commit
2d577cae9d
4 changed files with 19 additions and 17 deletions
|
@ -14,9 +14,4 @@
|
|||
%div{:id => dom_id(@project)}
|
||||
= render "commits"
|
||||
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
$.cookie('branch', '#{params[:branch]}', { expires: 1 });
|
||||
$.cookie('tag', '#{params[:tag]}', { expires: 1 });
|
||||
});
|
||||
- remember_refs
|
||||
|
|
|
@ -46,11 +46,7 @@
|
|||
= render :partial => "projects/tree_item", :locals => { :content => content }
|
||||
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
$.cookie('branch', '#{params[:branch]}', { expires: 1 });
|
||||
$.cookie('tag', '#{params[:tag]}', { expires: 1 });
|
||||
});
|
||||
- remember_refs
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue