diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f1ae0cd8f..94c775693 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -10,6 +10,10 @@ nav_order: 6 ## main +* Make `ViewComponent::VERSION` accessible to other gems by default. + + *Hans Lemuet* + * Added Reinvented Hospitality to the list of companies using ViewComponent. *Torgil Zechel* diff --git a/lib/view_component.rb b/lib/view_component.rb index 3db9728ba..93677d67f 100644 --- a/lib/view_component.rb +++ b/lib/view_component.rb @@ -2,6 +2,7 @@ require "action_view" require "active_support/dependencies/autoload" +require "view_component/version" module ViewComponent extend ActiveSupport::Autoload