mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-02 10:44:28 +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>
|
||||
<ul class="dropdown-menu" data-hook="navigation-user-menu">
|
||||
<li>
|
||||
<%= link_to t('nav.user.settings'),
|
||||
'/settings',
|
||||
data: { turbolinks: false } %>
|
||||
<%= link_to t('nav.user.settings'), edit_user_registration_path %>
|
||||
</li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li>
|
||||
|
|
|
@ -15,16 +15,16 @@ Rails.application.routes.draw do
|
|||
|
||||
root 'projects#index'
|
||||
|
||||
# Client APP endpoints
|
||||
get '/settings', to: 'client_api/settings#index'
|
||||
get '/settings/*all', to: 'client_api/settings#index'
|
||||
|
||||
namespace :client_api, defaults: { format: 'json' } do
|
||||
post '/premissions', to: 'permissions#status'
|
||||
%i(activities teams notifications users configurations).each do |path|
|
||||
draw path
|
||||
end
|
||||
end
|
||||
# # Client APP endpoints
|
||||
# get '/settings', to: 'client_api/settings#index'
|
||||
# get '/settings/*all', to: 'client_api/settings#index'
|
||||
#
|
||||
# namespace :client_api, defaults: { format: 'json' } do
|
||||
# post '/premissions', to: 'permissions#status'
|
||||
# %i(activities teams notifications users configurations).each do |path|
|
||||
# draw path
|
||||
# end
|
||||
# end
|
||||
|
||||
# Save sample table state
|
||||
post '/state_save/:team_id/:user_id',
|
||||
|
|
Loading…
Reference in a new issue