Commit c25d3655 authored by gubala's avatar gubala

test of additional menu for prom

parent a3a88950
...@@ -52,7 +52,7 @@ class ApplicationController < ActionController::Base ...@@ -52,7 +52,7 @@ class ApplicationController < ActionController::Base
def sanitize_path def sanitize_path
@path = params[:path] @path = params[:path]
@path.gsub!("gsiftp://login01.prometheus.cyf-kr.edu.pl/", "prometheus") @path.gsub!("gsiftp:/login01.prometheus.cyf-kr.edu.pl/", "prometheus/")
@path = "/#{@path}" unless @path.start_with?('/') @path = "/#{@path}" unless @path.start_with?('/')
@path = URI.escape @path @path = URI.escape @path
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment