added link to home folder

This commit is contained in:
Mark Moser 2016-10-14 21:07:16 -05:00
parent f64668543d
commit 1ab46b5070
2 changed files with 6 additions and 1 deletions

View File

@ -16,7 +16,11 @@
<tbody> <tbody>
<% @accounts.each do |account| %> <% @accounts.each do |account| %>
<tr> <tr>
<td><%= account.home_folder %></td> <td>
<a href="<%= "#{AppConfig.wwwroot}#{account.home_folder}"%>" target="_blank" rel="noopener">
<%= account.home_folder %>
</s>
</td>
<td><%= account.username %></td> <td><%= account.username %></td>
<td class="passwd" data-id="passwd"> <td class="passwd" data-id="passwd">
<%= link_to reveal_password_path(account.id), remote: true do %> <%= link_to reveal_password_path(account.id), remote: true do %>

View File

@ -14,6 +14,7 @@ defaults: &defaults
ftpusers: "/path/to/vsftpd/users/configs" ftpusers: "/path/to/vsftpd/users/configs"
ftproot: "/path/to/root/ftp/prefix/" ftproot: "/path/to/root/ftp/prefix/"
ftpaccount: vsftpd ftpaccount: vsftpd
wwwroot: "/path/to/ftp/www"
development: development:
<<: *defaults <<: *defaults