From: Tomas Sedovic <tsedo...@redhat.com> --- 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 '#...@pool.name}' -- 1.7.2.2 _______________________________________________ deltacloud-devel mailing list deltacloud-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/deltacloud-devel