From: Tomas Sedovic <[email protected]>
---
src/app/controllers/pool_controller.rb | 4 ++++
src/app/views/pool/edit.haml | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
create mode 100644 src/app/views/pool/edit.haml
diff --git a/src/app/controllers/pool_controller.rb
b/src/app/controllers/pool_controller.rb
index 41c5369..072d0da 100644
--- a/src/app/controllers/pool_controller.rb
+++ b/src/app/controllers/pool_controller.rb
@@ -33,6 +33,10 @@ class PoolController < ApplicationController
@pool = Pool.find(params[:id])
end
+ def edit
+ @pool = Pool.find(params[:id])
+ end
+
def list
#FIXME: clean this up, many error cases here
@pool = Pool.find(params[:id])
diff --git a/src/app/views/pool/edit.haml b/src/app/views/pool/edit.haml
new file mode 100644
index 0000000..755ecd9
--- /dev/null
+++ b/src/app/views/pool/edit.haml
@@ -0,0 +1 @@
+%h1 Edit Pool '#[email protected]}'
--
1.7.2.2
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel