Support Spree 1.3.x, add default unauthorized page, and organize locales.
This commit is contained in:
committed by
Michael Bianco
parent
52e7009c17
commit
7dabf1a520
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user