config/routes.rb in refile-0.3.0 vs config/routes.rb in refile-0.4.0

- old
+ new

@@ -1,3 +1,5 @@ -Rails.application.routes.draw do - mount Refile.app, at: "attachments", as: :refile_app +if Refile.automount + Rails.application.routes.draw do + mount Refile.app, at: Refile.mount_point, as: :refile_app + end end