Skip to content

Commit

Permalink
make dedicated "download" and "view" links on artifact view, #90
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed May 27, 2015
1 parent e3f4ec9 commit f67e9f3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ public List<MenuEntry> getActions ( final HttpServletRequest request, final Obje
}
}

result.add ( new MenuEntry ( "Download", Integer.MAX_VALUE, LinkTarget.createFromController ( ArtifactController.class, "dump" ).expand ( model ), Modifier.LINK, null ) );
result.add ( new MenuEntry ( "Download", Integer.MAX_VALUE, LinkTarget.createFromController ( ArtifactController.class, "get" ).expand ( model ), Modifier.LINK, "download" ) );
result.add ( new MenuEntry ( "View", Integer.MAX_VALUE, LinkTarget.createFromController ( ArtifactController.class, "dump" ).expand ( model ), Modifier.LINK, null ) );

return result;
}
Expand Down

0 comments on commit f67e9f3

Please sign in to comment.