From 1ab46b5070157aea56b030d9d4039ae6bdefbba4 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Fri, 14 Oct 2016 21:07:16 -0500 Subject: [PATCH] added link to home folder --- app/views/accounts/index.html.erb | 6 +++++- config/application.yml.sample | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/accounts/index.html.erb b/app/views/accounts/index.html.erb index 4c8bd2a..f6b12ba 100644 --- a/app/views/accounts/index.html.erb +++ b/app/views/accounts/index.html.erb @@ -16,7 +16,11 @@ <% @accounts.each do |account| %> - <%= account.home_folder %> + + " target="_blank" rel="noopener"> + <%= account.home_folder %> + + <%= account.username %> <%= link_to reveal_password_path(account.id), remote: true do %> diff --git a/config/application.yml.sample b/config/application.yml.sample index 8e714dd..7528dc7 100644 --- a/config/application.yml.sample +++ b/config/application.yml.sample @@ -14,6 +14,7 @@ defaults: &defaults ftpusers: "/path/to/vsftpd/users/configs" ftproot: "/path/to/root/ftp/prefix/" ftpaccount: vsftpd + wwwroot: "/path/to/ftp/www" development: <<: *defaults