Redirecting to hamo.com
This commit is contained in:
31
api/controllers/users/signin.js
Normal file
31
api/controllers/users/signin.js
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
module.exports = {
|
||||||
|
|
||||||
|
|
||||||
|
friendlyName: 'Signin',
|
||||||
|
|
||||||
|
|
||||||
|
description: 'Signin users.',
|
||||||
|
|
||||||
|
|
||||||
|
inputs: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
exits: {
|
||||||
|
success: {
|
||||||
|
responseType: 'view',
|
||||||
|
viewTemplatePath: 'pages/users/signin'
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
fn: async function (inputs, exits) {
|
||||||
|
|
||||||
|
return exits.success({ url: "//hamo.com" });
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
@@ -25,7 +25,7 @@ module.exports.routes = {
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
'/': {
|
'/': {
|
||||||
view: 'pages/homepage'
|
action: 'users/signin'
|
||||||
},
|
},
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
<strong>Hello world!</strong>
|
|
||||||
2
views/pages/users/signin.ejs
Normal file
2
views/pages/users/signin.ejs
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Yeah!
|
||||||
|
<a href="<%= url %>" ><img src="/images/signingwithgoogle.png" /> </a>
|
||||||
Reference in New Issue
Block a user