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

Doesn't use global layout #1

Closed oleksify closed 13 years ago

oleksify commented 13 years ago

Why pages doesn't use global site layout?

citrus commented 13 years ago

The pages controller inherits from the ApplicationController rather than Spree::BaseController. Just make your application controller inherit from the Spree::BaseController and you should be good to go...

class ApplicationController < Spree::BaseController
    protect_from_forgery
end

Check out https://github.com/citrus/spree_essentials_demo for a complete example..

oleksify commented 13 years ago

Working, thanks!

citrus commented 13 years ago

No problemo! Let me know if you have any other questions...