spec/dummy/app/controllers/application_controller.rb in cadenero-0.0.2.a vs spec/dummy/app/controllers/application_controller.rb in cadenero-0.0.2.a1
- old
+ new
@@ -1,6 +1,12 @@
class ApplicationController < ActionController::API
+
+ def cadenero_user
+ current_user
+ end
+ helper_method :cadenero_user
+
end