Module: RedactorRails::Devise

Defined in:
lib/redactor-rails/devise.rb

Instance Method Summary collapse

Instance Method Details

#redactor_authenticate_user!Object


3
4
5
# File 'lib/redactor-rails/devise.rb', line 3

def redactor_authenticate_user!
  authenticate_user!
end

#redactor_current_userObject


7
8
9
# File 'lib/redactor-rails/devise.rb', line 7

def redactor_current_user
  current_user
end