Skip to content

Commit

Permalink
created linkBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
abarnhard committed Aug 7, 2014
1 parent f9c3ed5 commit 7e58988
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/helpers/linkbuilder.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
'use strict';

//var _ = require('lodash');

function linkBuilder(query, name, text){
return makeA('&test=test', 'test');
}

module.exports = linkBuilder;

// Helper Functions
function makeA(qString, text){
return '<a href="/tasks?' + qString + '">' + text + '</a>';
}

0 comments on commit 7e58988

Please sign in to comment.