app/controllers/apicasso/apidocs_controller.rb in apicasso-0.6.3 vs app/controllers/apicasso/apidocs_controller.rb in apicasso-0.6.4
- old
+ new
@@ -2,10 +2,10 @@
module Apicasso
# Controller used to generate an application Swagger JSON, used by
# SwaggerUI to generate beautiful API documentation
class ApidocsController < Apicasso::ApplicationController
- skip_before_action :restrict_access, :set_root_resource
+ skip_before_action :restrict_access
include Swagger::Blocks
# Default application settings for documentation generation.
# Define here the title of the application, logo, description, terms
# of service, contact of the developer and the license of the application.