Open no-reply opened 3 years ago
https://github.com/samvera/active_fedora/blob/511ee837cd9a461021e53d5e20f362b634de39a8/lib/active_fedora.rb#L286
we autoload the railtie, injecting middleware into the ActionDispatch stack. this should really only happen if the users application wants it.
ActionDispatch
it seems like the more rails-y approach would be to generate this into application.rb?
application.rb
whatever the case, it should be possible to remove the Railtie from an application without removing the entire gem.
Railtie
https://github.com/samvera/active_fedora/blob/511ee837cd9a461021e53d5e20f362b634de39a8/lib/active_fedora.rb#L286
we autoload the railtie, injecting middleware into the
ActionDispatch
stack. this should really only happen if the users application wants it.it seems like the more rails-y approach would be to generate this into
application.rb
?whatever the case, it should be possible to remove the
Railtie
from an application without removing the entire gem.