lib/generators/angularjs/scaffold/templates/edit.html.erb in explainer_angularjs_scaffold-0.0.21 vs lib/generators/angularjs/scaffold/templates/edit.html.erb in explainer_angularjs_scaffold-0.0.22
- old
+ new
@@ -36,10 +36,10 @@
<button ng-click="destroy()"
ng-show="<%= @resource_name%>.id"
class="btn btn-danger">
<i class="icon-trash"></i>Delete
</button>
- <a href="/<%= @resource_name%>s" class="btn">
+ <a href="/<%= @plural_model_name%>" class="btn">
Back to <%= @plural_model_name%>
</a>
</div>
</fieldset>
</form>