From c74ead83182963861e2c33648a1a01dee0df1196 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 7 Dec 2012 09:07:49 +0800 Subject: [PATCH] Redirect to designs after buying template Randomise buy counts --- app/controllers/admin/purchases_controller.rb | 1 + app/views/admin/module_store/show.html.erb | 2 +- app/views/admin/template_store/show.html.erb | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/controllers/admin/purchases_controller.rb b/app/controllers/admin/purchases_controller.rb index f1663c95..8a0ffdbc 100644 --- a/app/controllers/admin/purchases_controller.rb +++ b/app/controllers/admin/purchases_controller.rb @@ -18,6 +18,7 @@ class Admin::PurchasesController < ApplicationController unzip_design(temp_file, zip_name) temp_file.close temp_file.unlink + redirect_to admin_designs_url end def download diff --git a/app/views/admin/module_store/show.html.erb b/app/views/admin/module_store/show.html.erb index d01388c3..003cbf30 100644 --- a/app/views/admin/module_store/show.html.erb +++ b/app/views/admin/module_store/show.html.erb @@ -25,7 +25,7 @@

Module Name

free download

who use it?