mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-03 19:24:48 +08:00
revert to old setting [fixes SCI-1967]
This commit is contained in:
parent
e8f6dc0d24
commit
029d69b033
2 changed files with 11 additions and 13 deletions
|
@ -260,9 +260,7 @@
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu" data-hook="navigation-user-menu">
|
<ul class="dropdown-menu" data-hook="navigation-user-menu">
|
||||||
<li>
|
<li>
|
||||||
<%= link_to t('nav.user.settings'),
|
<%= link_to t('nav.user.settings'), edit_user_registration_path %>
|
||||||
'/settings',
|
|
||||||
data: { turbolinks: false } %>
|
|
||||||
</li>
|
</li>
|
||||||
<li role="separator" class="divider"></li>
|
<li role="separator" class="divider"></li>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -15,16 +15,16 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
root 'projects#index'
|
root 'projects#index'
|
||||||
|
|
||||||
# Client APP endpoints
|
# # Client APP endpoints
|
||||||
get '/settings', to: 'client_api/settings#index'
|
# get '/settings', to: 'client_api/settings#index'
|
||||||
get '/settings/*all', to: 'client_api/settings#index'
|
# get '/settings/*all', to: 'client_api/settings#index'
|
||||||
|
#
|
||||||
namespace :client_api, defaults: { format: 'json' } do
|
# namespace :client_api, defaults: { format: 'json' } do
|
||||||
post '/premissions', to: 'permissions#status'
|
# post '/premissions', to: 'permissions#status'
|
||||||
%i(activities teams notifications users configurations).each do |path|
|
# %i(activities teams notifications users configurations).each do |path|
|
||||||
draw path
|
# draw path
|
||||||
end
|
# end
|
||||||
end
|
# end
|
||||||
|
|
||||||
# Save sample table state
|
# Save sample table state
|
||||||
post '/state_save/:team_id/:user_id',
|
post '/state_save/:team_id/:user_id',
|
||||||
|
|
Loading…
Reference in a new issue