mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-28 03:34:22 -04:00
10 lines
242 B
Ruby
10 lines
242 B
Ruby
class ApplicationController < ActionController::Base
|
|
protect_from_forgery
|
|
|
|
# tweak CanCan defaults because we don't have a "current_user" method
|
|
def current_ability
|
|
@current_ability ||= AccountAbility.new(current_member)
|
|
end
|
|
|
|
end
|