[Xfce4-commits] <moka:master> Render the collection release view after any of the admin tasks.

Jannis Pohlmann noreply at xfce.org
Thu Jan 13 21:56:01 CET 2011


Updating branch refs/heads/master
         to 121f0e9788aa2422eb52154f56e2abb86bab2346 (commit)
       from 3bc18591dd4eb3d57bf177eaccc16ef818731ecd (commit)

commit 121f0e9788aa2422eb52154f56e2abb86bab2346
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Thu Jan 13 21:54:17 2011 +0100

    Render the collection release view after any of the admin tasks.

 lib/controllers/collections.rb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/controllers/collections.rb b/lib/controllers/collections.rb
index 5d4b023..2ea2e42 100755
--- a/lib/controllers/collections.rb
+++ b/lib/controllers/collections.rb
@@ -72,6 +72,8 @@ module Moka
 
           @release = Collection::Release.new(@collection, params[:release])
           @release.update
+
+          view :collection_release
         end
 
         app.get '/collection/:name/release/:release/update_fat_tarball_checksums' do
@@ -81,6 +83,8 @@ module Moka
 
           @release = Collection::Release.new(@collection, params[:release])
           @release.update
+
+          view :collection_release
         end
 
         app.get '/collection/:name/new-release' do



More information about the Xfce4-commits mailing list