diff options
author | Zachary Scott <e@zzak.io> | 2014-08-10 10:24:51 -0700 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-08-10 10:24:51 -0700 |
commit | d0cdc96919e889d53f1d44bdb29f3d0dcd8cc68c (patch) | |
tree | 936dba883c4d6db264cdca33d34fd573bf5b806f /guides/source | |
parent | ff240410622c8911f59b58113c7d7c53caad0450 (diff) | |
parent | 38e8bb830108f91a8de832631c5147e1beea08b6 (diff) | |
download | rails-d0cdc96919e889d53f1d44bdb29f3d0dcd8cc68c.tar.gz rails-d0cdc96919e889d53f1d44bdb29f3d0dcd8cc68c.tar.bz2 rails-d0cdc96919e889d53f1d44bdb29f3d0dcd8cc68c.zip |
Merge pull request #16451 from y-yagi/patch-2
[ci skip] Fix sample code in engines guide
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/engines.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md index e9cce3f159..24548a5b01 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -136,7 +136,7 @@ following to the dummy application's routes file at `test/dummy/config/routes.rb`: ```ruby -mount Blorgh::Engine, at: "blorgh" +mount Blorgh::Engine => "/blorgh" ``` ### Inside an Engine @@ -173,7 +173,7 @@ Within `lib/blorgh/engine.rb` is the base class for the engine: ```ruby module Blorgh - class Engine < Rails::Engine + class Engine < ::Rails::Engine isolate_namespace Blorgh end end |