On 06/13/2011 02:31 PM, jprovazn(a)redhat.com wrote:
From: Jan Provaznik<jprovazn(a)redhat.com>
Added missing pool_id param
---
src/app/views/pools/_pretty_list.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/views/pools/_pretty_list.haml
b/src/app/views/pools/_pretty_list.haml
index 3a0c2ca..b9683f0 100644
--- a/src/app/views/pools/_pretty_list.haml
+++ b/src/app/views/pools/_pretty_list.haml
@@ -30,7 +30,7 @@
%li
%a{:href => pool_path(pool)}= "#{pool.name} Pool
details»"
%li
- = link_to 'New Deployment', launch_new_deployments_path, :class
=> 'button primary', :id => 'new_deployment_button'
+ = link_to 'New Deployment', launch_new_deployments_path(:pool_id
=> pool.id), :class => 'button primary', :id =>
'new_deployment_button'
:javascript
$(document).ready(function() {
Please rebase it against next, it cannot be
applied on next now.