Skip to content

Commit

Permalink
Merged in GGP-50-pages-broken (pull request neo4j-examples#16)
Browse files Browse the repository at this point in the history
GGP-50: pages-broken

Approved-by: Alisson Patricio <eu@alisson.net>
Approved-by: Cristina Escalante <ce@tsl.io>
  • Loading branch information
nossila authored and whatSocks committed May 16, 2017
2 parents bb51242 + 64edc17 commit d129536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/graph_starter/assets/_admin_buttons.html.slim
Expand Up @@ -16,13 +16,13 @@
- if asset.persisted?
.ui.divider

a.ui.labeled.icon.button href="#{graph_starter.edit_asset_path(id: asset.is_a?(GraphGist) ? @asset.id : @asset.graphgist.id)}"
a.ui.labeled.icon.button href="#{graph_starter.edit_asset_path(id: asset.is_a?(GraphGistCandidate) ? @asset.graphgist.id : @asset.id)}"
i.edit.icon
| Admin Edit

.ui.divider

.ui.buttons
a.ui.labeled.icon.red.button.right.floated href="#{graph_starter.destroy_asset_path(id: asset.is_a?(GraphGist) ? @asset.id : @asset.graphgist.id)}"
a.ui.labeled.icon.red.button.right.floated href="#{graph_starter.destroy_asset_path(id: asset.is_a?(GraphGistCandidate) ? @asset.graphgist.id : @asset.id)}"
i.delete.icon
| Delete

0 comments on commit d129536

Please sign in to comment.