Skip to content

Commit

Permalink
Merge pull request #194 from rails-front-end/update-documentation-and…
Browse files Browse the repository at this point in the history
…-examples-for-rails7

Update documentation and examples for rails 7
  • Loading branch information
rmacklin authored Apr 23, 2022
2 parents b003a1f + dee6c61 commit 8e91c19
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Or install it yourself as:

## Usage

In `config/application.rb`, after the code that `require`s rails, add:
In `config/application.rb`, after `Bundler.require(*Rails.groups)`, add:

```ruby
require 'external_asset_pipeline/railtie'
Expand Down
4 changes: 2 additions & 2 deletions examples/demo_app-brunch/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
require "action_cable/engine"
require "rails/test_unit/railtie"

require "external_asset_pipeline/railtie"

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

require "external_asset_pipeline/railtie"

module DemoApp
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
Expand Down
4 changes: 2 additions & 2 deletions examples/demo_app-gulp-alt/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
require "action_cable/engine"
require "rails/test_unit/railtie"

require "external_asset_pipeline/railtie"

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

require "external_asset_pipeline/railtie"

module DemoApp
class << self
attr_accessor :external_asset_pipeline_manifest
Expand Down
4 changes: 2 additions & 2 deletions examples/demo_app-gulp/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
require "action_cable/engine"
require "rails/test_unit/railtie"

require "external_asset_pipeline/railtie"

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

require "external_asset_pipeline/railtie"

module DemoApp
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
Expand Down
4 changes: 2 additions & 2 deletions examples/demo_app-rails5/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

require 'rails/all'

require 'external_asset_pipeline/railtie'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

require 'external_asset_pipeline/railtie'

module DemoApp
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
Expand Down
4 changes: 2 additions & 2 deletions examples/demo_app-rollup/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

require "rails/all"

require "external_asset_pipeline/railtie"

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

require "external_asset_pipeline/railtie"

module DemoApp
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
Expand Down
4 changes: 2 additions & 2 deletions examples/demo_app/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

require "rails/all"

require "external_asset_pipeline/railtie"

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

require "external_asset_pipeline/railtie"

module DemoApp
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
Expand Down

0 comments on commit 8e91c19

Please sign in to comment.