lib/cantango/api/can/user.rb in cantango-api-0.0.0 vs lib/cantango/api/can/user.rb in cantango-api-0.1.0
- old
+ new
@@ -1,9 +1,9 @@
module CanTango
module Api
module Can
module User
- include Ability
+ include CanTango::Api::Ability::User
# Example: generated from types of accounts! (see below)
# def admin_can?(*args)
# current_user_ability(:admin).can?(*args)
# end
def self.included(base)