Skip to content

Commit 1cc4f2f

Browse files
authored
Merge pull request #666 from avit/split-namespace
Keep railtie defined under the Split gem namespace
2 parents 36495a5 + 047b621 commit 1cc4f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/split.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def cache(namespace, key, &block)
7474

7575
# Check to see if being run in a Rails application. If so, wait until before_initialize to run configuration so Gems that create ENV variables have the chance to initialize first.
7676
if defined?(::Rails)
77-
class Railtie < Rails::Railtie
77+
class Split::Railtie < Rails::Railtie
7878
config.before_initialize { Split.configure {} }
7979
end
8080
else

0 commit comments

Comments
 (0)