Skip to content

Instantly share code, notes, and snippets.

@moonshine
Created July 29, 2010 08:05
Show Gist options
  • Save moonshine/497581 to your computer and use it in GitHub Desktop.
Save moonshine/497581 to your computer and use it in GitHub Desktop.
within my #site_extension.rb
Spree::BaseController.class_eval do
before_filter :require_user
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment