Permalink
Browse files

Rip out auth component, provide facilities for custom authentication

  • Loading branch information...
1 parent 59ab4fa commit 9f466be59e4a9f5fe678a390b413d1a118afa3a4 @radar radar committed May 8, 2012
@@ -1,3 +1,5 @@
+require 'cancan'
+
class Spree::BaseController < ApplicationController
include Spree::Core::RespondWith
@@ -0,0 +1,2 @@
+Spree.user_class = "<%= class_name %>"
+Spree.current_user_method = "current_<%= class_name.downcase %>"

0 comments on commit 9f466be

Please sign in to comment.