app/controllers/garage/docs/resources_controller.rb in the_garage-2.6.1 vs app/controllers/garage/docs/resources_controller.rb in the_garage-2.7.0
- old
+ new
@@ -84,10 +84,10 @@
end
def require_console_application
@app = console_application
if @app[:uid].blank? || @app[:secret].blank?
- render(text: 'Configuration for console application is missing.', status: :forbidden)
+ render(plain: 'Configuration for console application is missing.', status: :forbidden)
end
end
def require_document
@document = Garage::Docs::Document.find_by_name(params[:id])