Skip to content

Commit

Permalink
id not uri in html template
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmcelwee committed Aug 2, 2016
1 parent 0d87e47 commit 55fc340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can add a link to the VisJS graph for a document by adding the following
HTML snippet to a template:
```html
<a ui-sref="root.visjs-graph({uri: docUri})">Go to the VisJS graph for {{docUri}}</a>
<a ui-sref="root.visjs-graph({id: docUri})">Go to the VisJS graph for {{docUri}}</a>
```
For example, in a slush-generated app, you can add this markup to
Expand All @@ -59,7 +59,7 @@ For example, in a slush-generated app, you can add this markup to
<div class="panel panel-default">
<div class="panel-heading">Graph</div>
<div class="panel-body" style="min-height: 50px;">
Explore triples for <a ui-sref="root.visjs-graph({uri: ctrl.uri})">{{ctrl.uri}}</a>
Explore triples for <a ui-sref="root.visjs-graph({id: ctrl.uri})">{{ctrl.uri}}</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 55fc340

Please sign in to comment.