lib/hanami/application.rb in hanami-0.9.2 vs lib/hanami/application.rb in hanami-1.0.0.beta1

- old
+ new

@@ -29,23 +29,10 @@ super base.extend(ClassMethods) base.namespace.module_eval do class << self - # Logger for this application - # - # @return [Hanami::Logger] the logger for this Hanami application - # - # @since 0.9.0 - # @api public - # - # @example - # - # Web.logger - # Admin.logger - attr_accessor :logger - # Routes for this application # # @return [Hanami::Routes] the routes for this Hanami application # # @since 0.9.0 @@ -122,10 +109,10 @@ # # @since 0.1.0 # @api private def configuration=(configuration) @_lock.synchronize do - raise "Can't assign configuration more than once (#{app_name})" unless @configuration.nil? + # raise "Can't assign configuration more than once (#{app_name})" unless @configuration.nil? @configuration = configuration end end # Configure the application.