initforthe-routes 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  module Initforthe::Routes
2
2
  class Engine < ::Rails::Engine
3
- initializer "initforthe-routes.configure_rails_initialization" do |app|
4
- Router.send :include, ::Rails.application.routes.url_helpers
5
- Router.send :include, ::Rails.application.routes.mounted_helpers
3
+ config.after_initialize do
4
+ ::Initforthe::Routes::Router.send :include, ::Rails.application.routes.url_helpers
5
+ ::Initforthe::Routes::Router.send :include, ::Rails.application.routes.mounted_helpers
6
6
  end
7
7
  end
8
8
  end
@@ -1,5 +1,5 @@
1
1
  module Initforthe
2
2
  module Routes
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: initforthe-routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: