mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
Move the WOPI controls partial to /wopi folder, fix typo
This commit is contained in:
parent
b78caef915
commit
5135922254
2 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class AssetsController < ApplicationController
|
|||
if wopi_enabled? && wopi_file?(@asset)
|
||||
edit_supported, title = wopi_file_edit_button_status
|
||||
response_json['wopi-controls'] = render_to_string(
|
||||
partial: 'shared/file_wopi_controlls.html.erb',
|
||||
partial: 'assets/wopi/file_wopi_controls.html.erb',
|
||||
locals: {
|
||||
asset: @asset,
|
||||
can_edit: can_edit,
|
||||
|
|
Loading…
Reference in a new issue