Created
July 10, 2012 16:00
-
-
Save larzconwell/3084323 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="hero-unit"> | |
<h2>All <%= names.constructor.plural %></h2> | |
<%%- linkTo('Create a new <%= names.constructor.singular %>'), {controller: '<%= names.property.plural %>', action: 'add'}, {class: 'btn pull-right'}) %> | |
</div> | |
OUTPUT: | |
<div class="hero-unit"> | |
<h2>All Users</h2> | |
<%- linkTo('Create a new User'), {controller: 'users', action: 'add'}, {class: 'btn pull-right'}) | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment