Skip to content

Commit

Permalink
Change a few more 'inertia' calls to 'inertia_rails'
Browse files Browse the repository at this point in the history
  • Loading branch information
bknoles committed Oct 9, 2019
1 parent 0132ec6 commit 8afe7b0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/console
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

require "bundler/setup"
require "inertia/rails"
require "inertia_rails/rails"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
Expand Down
2 changes: 1 addition & 1 deletion inertia_rails.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "inertia/version"
require "inertia_rails/version"

Gem::Specification.new do |spec|
spec.name = "inertia_rails"
Expand Down
4 changes: 2 additions & 2 deletions lib/inertia_rails/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

module InertiaRails
class Engine < ::Rails::Engine
initializer "inertia.configure_rails_initialization" do |app|
initializer "inertia_rails.configure_rails_initialization" do |app|
app.middleware.use ::InertiaRails::Middleware
end

initializer "inertia.action_controller" do
initializer "inertia_rails.action_controller" do
ActiveSupport.on_load(:action_controller) do
include ::InertiaRails::Controller
end
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "bundler/setup"
require "inertia/rails"
require "inertia_rails/rails"

RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
Expand Down

0 comments on commit 8afe7b0

Please sign in to comment.