Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit c671f65

Browse files
committed
Merge pull request #693 from lirantal/feature/clean_angular_hashbang_urls
Feature/clean angular hashbang urls
2 parents e3405d2 + de3b890 commit c671f65

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

modules/articles/tests/e2e/articles.e2e.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe('Articles E2E Tests:', function() {
44
describe('Test articles page', function() {
55
it('Should report missing credentials', function() {
6-
browser.get('http://localhost:3000/#!/articles');
6+
browser.get('http://localhost:3000/articles');
77
expect(element.all(by.repeater('article in articles')).count()).toEqual(0);
88
});
99
});

modules/users/server/controllers/users/users.authentication.server.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ exports.saveOAuthUserProfile = function (req, providerUserProfile, done) {
167167

168168
// And save the user
169169
user.save(function (err) {
170-
return done(err, user, '/#!/settings/accounts');
170+
return done(err, user, '/settings/accounts');
171171
});
172172
} else {
173173
return done(new Error('User is already connected using this provider'), user);

modules/users/server/controllers/users/users.password.server.controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ exports.validateResetToken = function(req, res) {
102102
}
103103
}, function(err, user) {
104104
if (!user) {
105-
return res.redirect('/#!/password/reset/invalid');
105+
return res.redirect('/password/reset/invalid');
106106
}
107107

108-
res.redirect('/#!/password/reset/' + req.params.token);
108+
res.redirect('/password/reset/' + req.params.token);
109109
});
110110
};
111111

modules/users/tests/e2e/users.e2e.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe('Users E2E Tests:', function() {
44
describe('Signin Validation', function() {
55
it('Should report missing credentials', function() {
6-
browser.get('http://localhost:3000/#!/authentication/signin');
6+
browser.get('http://localhost:3000/authentication/signin');
77
element(by.css('button[type=submit]')).click();
88
element(by.binding('error')).getText().then(function(errorText) {
99
expect(errorText).toBe('Missing credentials');

0 commit comments

Comments
 (0)