Skip to content

Commit

Permalink
Fix for missing slash for editing files in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
kyledrake committed Jan 27, 2020
1 parent ff696d3 commit 2055ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/dashboard.erb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
<div class="overlay">
<div id="<%= Digest::SHA256.hexdigest file[:path] %>" style="display: none"><%= file[:path] %></div>
<% if file[:is_editable] %>
<a href="/site_files/text_editor<%= file[:path] %>"><i class="fa fa-edit" title="Edit"></i> Edit</a>
<a href="/site_files/text_editor/<%= file[:path] %>"><i class="fa fa-edit" title="Edit"></i> Edit</a>
<% end %>
<% if file[:is_directory] %>
<a href="?dir=<%= Rack::Utils.escape file[:path] %>"><i class="fa fa-edit" title="Manage"></i> Manage</a>
Expand Down

0 comments on commit 2055ddc

Please sign in to comment.