Permalink
Browse files

Add deploy URLs for artifact versions

  • Loading branch information...
1 parent 2485857 commit 3ef347ca59be2acf08b83de09324d155ceac7846 Lance committed Jan 11, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/views/artifact_versions/index.xml.haml
@@ -5,3 +5,6 @@
%archive_file_name=version.archive_file_name
%created_at=version.created_at
%current_state=version.current_state
+ %actions
+ - current_user.environments.each do |environment|
+ %link{:href=>environment_deployments_url(environment, :artifact_version_id=>version.id), :rel=>'deploy'}

0 comments on commit 3ef347c

Please sign in to comment.