app/controllers/garage/docs/resources_controller.rb in the_garage-2.1.0 vs app/controllers/garage/docs/resources_controller.rb in the_garage-2.2.0
- old
+ new
@@ -44,16 +44,15 @@
else
render :layout => false
end
end
+ private
+
def _current_user
@current_user ||= instance_eval(&Garage.configuration.docs.current_user_method)
end
- hide_action :_current_user
helper_method :_current_user
-
- private
def console_application
{
uid: Garage.configuration.docs.console_app_uid,
secret: Garage.configuration.docs.console_app_secret,