This commit is contained in:
Captain Future
2011-04-17 16:26:36 +02:00
commit e6134722d4
39 changed files with 1199 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
en:
digital_versions: Digital Versions
current_file: Current File
new_file: New File
upload: Upload
delete_file: Delete this file
broken_file: Warning! this file is broken
delete_file_cofirmation: Are you sure you want to delete the file %{filename}?
digital_shipping: Delivery per email to <strong>%{email}</strong>
+11
View File
@@ -0,0 +1,11 @@
Rails.application.routes.draw do
namespace :admin do
resources :products do
resources :digitals
end
end
get '/digital/:secret', :to => 'digitals#show', :via => :get, :as => 'digital', :constraints => { :secret => /[a-zA-Z0-9]{30}/ }
end