Support Spree 1.3.x, add default unauthorized page, and organize locales.

This commit is contained in:
Jeff Dutil
2013-03-10 09:46:06 -04:00
committed by Michael Bianco
parent 52e7009c17
commit 7dabf1a520
9 changed files with 50 additions and 28 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
module Spree
class DigitalsController < Spree::StoreController
ssl_required :show
def show
link = DigitalLink.find_by_secret(params[:secret])
@@ -19,9 +19,9 @@ module Spree
Rails.logger.error "Missing Digital Item: #{attachment.path}"
end
end
render :unauthorized
end
end
end