File tree Expand file tree Collapse file tree 8 files changed +11
-10
lines changed Expand file tree Collapse file tree 8 files changed +11
-10
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -105,9 +105,8 @@ router.map(function() {
105
105
this . route ( 'list' , { path : '/:event_state' } ) ;
106
106
this . route ( 'import' ) ;
107
107
} ) ;
108
- this . route ( 'profile' ) ;
109
-
110
108
this . route ( 'settings' , function ( ) {
109
+ this . route ( 'profile' ) ;
111
110
this . route ( 'contact-info' ) ;
112
111
this . route ( 'password' ) ;
113
112
this . route ( 'email-preferences' ) ;
File renamed without changes.
Original file line number Diff line number Diff line change 21
21
<a href =" {{ href-to ' my-sessions' }} " class =" item" >{{ t ' My Sessions' }} </a >
22
22
<a href =" {{ href-to ' events.list' ' live' }} " class =" item" >{{ t ' Manage Events' }} </a >
23
23
<div class =" divider" ></div >
24
- <a href =" {{ href-to ' profile' }} " class =" item" >{{ t ' Profile' }} </a >
25
- <a href =" {{ href-to ' settings.contact-info' }} " class =" item" >{{ t ' Settings' }} </a >
24
+ <a href =" {{ href-to ' settings.profile' }} " class =" item" >{{ t ' Settings' }} </a >
26
25
{{ #if authManager.currentUser.isAnAdmin }}
27
26
<a href =" {{ href-to ' admin' }} " class =" item" >{{ t ' Admin' }} </a >
28
27
{{ /if }}
Original file line number Diff line number Diff line change 12
12
<a href =" {{ href-to ' my-sessions' }} " class =" item" >{{ t ' My Sessions' }} </a >
13
13
<a href =" {{ href-to ' events.list' ' live' }} " class =" item" >{{ t ' Manage Events' }} </a >
14
14
<div class =" divider" ></div >
15
- <a href =" {{ href-to ' profile' }} " class =" item" >{{ t ' Profile' }} </a >
15
+ <a href =" {{ href-to ' settings. profile' }} " class =" item" >{{ t ' Profile' }} </a >
16
16
<a href =" {{ href-to ' settings.contact-info' }} " class =" item" >{{ t ' Settings' }} </a >
17
17
{{ #if authManager.currentUser.isAnAdmin }}
18
18
<a href =" {{ href-to ' admin' }} " class =" item" >{{ t ' Admin' }} </a >
Original file line number Diff line number Diff line change 1
1
<div class =" row" >
2
2
<div class =" sixteen wide column" >
3
3
{{ #tabbed-navigation }}
4
+ {{ #link-to ' settings.profile' class =' item' }}
5
+ {{ t ' Profile' }}
6
+ {{ /link-to }}
4
7
{{ #link-to ' settings.contact-info' class =' item' }}
5
8
{{ t ' Contact Info' }}
6
9
{{ /link-to }}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ import { login } from 'open-event-frontend/tests/helpers/custom-helpers';
6
6
module ( 'Acceptance | profile' , function ( hooks ) {
7
7
setupApplicationTest ( hooks ) ;
8
8
9
- test ( 'visiting /profile without login' , async function ( assert ) {
10
- await visit ( '/profile' ) ;
9
+ test ( 'visiting settings /profile without login' , async function ( assert ) {
10
+ await visit ( '/settings/ profile' ) ;
11
11
assert . equal ( currentURL ( ) , '/login' ) ;
12
12
} ) ;
13
13
14
- test ( 'visiting /profile with login' , async function ( assert ) {
14
+ test ( 'visiting settings /profile with login' , async function ( assert ) {
15
15
await login ( assert ) ;
16
- await visit ( '/profile' ) ;
17
- assert . equal ( currentURL ( ) , '/profile' ) ;
16
+ await visit ( '/settings/ profile' ) ;
17
+ assert . equal ( currentURL ( ) , '/settings/ profile' ) ;
18
18
} ) ;
19
19
} ) ;
You can’t perform that action at this time.
0 commit comments