mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-07 15:33:50 +08:00
Merge pull request #1355 from okriuchykhin/ok_SCI_2775
Remove error message for index page and unauthenticated users [SCI-2775]
This commit is contained in:
commit
36cd1dbb88
1 changed files with 9 additions and 1 deletions
|
@ -13,7 +13,15 @@ Rails.application.routes.draw do
|
|||
confirmations: 'users/confirmations',
|
||||
omniauth_callbacks: 'users/omniauth_callbacks' }
|
||||
|
||||
devise_scope :user do
|
||||
authenticated :user do
|
||||
root 'projects#index'
|
||||
end
|
||||
|
||||
unauthenticated do
|
||||
root 'users/sessions#new'
|
||||
end
|
||||
end
|
||||
|
||||
# # Client APP endpoints
|
||||
# get '/settings', to: 'client_api/settings#index'
|
||||
|
|
Loading…
Reference in a new issue