Skip to content
Snippets Groups Projects
Commit 95f0a411 authored by Robert Speicher's avatar Robert Speicher
Browse files

Fix Refs#switch

parent 33126227
No related branches found
No related tags found
1 merge request!1568Routing overhaul
Loading
Loading
@@ -13,9 +13,9 @@ class RefsController < ApplicationController
 
layout "project"
 
def switch
respond_to do |format|
format.html do
def switch
respond_to do |format|
format.html do
new_path = if params[:destination] == "tree"
project_tree_path(@project, @ref)
else
Loading
Loading
@@ -69,6 +69,6 @@ class RefsController < ApplicationController
end
 
def ref
@ref = params[:id]
@ref = params[:ref]
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment