lib/hanami/controller/configuration.rb in hanami-controller-1.0.0.rc1 vs lib/hanami/controller/configuration.rb in hanami-controller-1.0.0

- old
+ new

@@ -28,11 +28,11 @@ # Default public directory # # It serves as base root for file downloads # - # @since 1.0.0.beta1 + # @since 1.0.0 # @api private DEFAULT_PUBLIC_DIRECTORY = 'public'.freeze # Default Mime type to format mapping # @@ -218,11 +218,11 @@ # Finds configured handler for given exception, or nil if not found. # # @param exception [Exception] an exception # - # @since 1.0.0.beta1 + # @since 1.0.0 # @api private # # @see Hanami::Controller::Configuration#handle_exception def exception_handler_for(exception) @handled_exceptions.each do |exception_class, handler| @@ -437,11 +437,11 @@ # Restrict the MIME types set only to the given set # # @param mime_types [Array] the set of MIME types # - # @since 1.0.0.beta1 + # @since 1.0.0 # @api private # # @see Hanami::Action::Mime::ClassMethods#accept def restrict_mime_types!(mime_types) @mime_types = self.mime_types & mime_types @@ -650,10 +650,10 @@ def mime_type_for(format) @formats.key(format) end # @api private - # @since 1.0.0.beta2 + # @since 1.0.0 attr_reader :root_directory def public_directory(value = nil) if value.nil? @public_directory