lib/federails.rb in federails-0.1.0 vs lib/federails.rb in federails-0.2.0

- old
+ new

@@ -25,12 +25,13 @@ :enable_discovery, :app_layout, :user_class, # @deprecated :server_routes_path, :client_routes_path, + :remote_follow_url_method, :user_profile_url_method, # @deprecated :user_name_field, # @deprecated :user_username_field, # @deprecated - ].each { |key| Configuration.send :"#{key}=", config[key] } + ].each { |key| Configuration.send :"#{key}=", config[key] if config.key?(key) } end end # rubocop:enable Style/ClassVars