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

Remove unused history_path instance variable

parent cda5e66d
No related branches found
No related tags found
1 merge request!1665Fix forward/back while browsing Tree hierarchy
Loading
Loading
@@ -54,10 +54,8 @@ class RefsController < ProjectResourceController
@hex_path = Digest::SHA1.hexdigest(params[:path] || "")
 
if params[:path]
@history_path = project_tree_path(@project, File.join(@ref, params[:path]))
@logs_path = logs_file_project_ref_path(@project, @ref, params[:path])
else
@history_path = project_tree_path(@project, @ref)
@logs_path = logs_tree_project_ref_path(@project, @ref)
end
rescue
Loading
Loading
Loading
Loading
@@ -10,10 +10,8 @@ class TreeController < ProjectResourceController
before_filter :assign_ref_vars
 
def show
@hex_path = Digest::SHA1.hexdigest(@path)
@history_path = project_tree_path(@project, @id)
@logs_path = logs_file_project_ref_path(@project, @ref, @path)
@hex_path = Digest::SHA1.hexdigest(@path)
@logs_path = logs_file_project_ref_path(@project, @ref, @path)
 
respond_to do |format|
format.html
Loading
Loading
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