citrus / spree_essential_cms

SpreeEssentialCms is a full featured CMS for Spree Commerce.
BSD 3-Clause "New" or "Revised" License
68 stars 82 forks source link

normalize attachment path #7

Closed sbounmy closed 12 years ago

sbounmy commented 12 years ago

Hi citrus,

I noticed spree_core is storing assets into public/spree/products/. Would it be a good idea to follow the same convention and have the pages contents assets to be stored in spree/public/pages ?

Basically, the main point is having a single folder public/spree for all attachments which would ease deployment like capistrano :

run "ln -nfs #{shared_path}/spree #{release_path}/public/spree"

Stephane

citrus commented 12 years ago

I think this is a good idea :) Can you send me a pull request?

Thanks! :beer: