aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-02-11 15:19:09 +0100
committerYves Senn <yves.senn@gmail.com>2013-02-11 15:22:11 +0100
commitfdf04fe7f6250d7cca8a62850396b8807cff0633 (patch)
tree970322547002d84cb17592a30acdba1f46a45355 /guides
parentb1c72a3675d57a3a575563acbc120d125d2c667b (diff)
downloadrails-fdf04fe7f6250d7cca8a62850396b8807cff0633.tar.gz
rails-fdf04fe7f6250d7cca8a62850396b8807cff0633.tar.bz2
rails-fdf04fe7f6250d7cca8a62850396b8807cff0633.zip
remove trailing whitespace from engines guide
Diffstat (limited to 'guides')
-rw-r--r--guides/source/engines.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index 8062b9c4ea..028c0f3e3a 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -57,7 +57,7 @@ The `--full` option tells the generator that you want to create an engine, inclu
end
```
* A file at `lib/blorgh/engine.rb` which is identical in function to a standard Rails application's `config/application.rb` file:
-
+
```ruby
module Blorgh
class Engine < ::Rails::Engine
@@ -72,12 +72,12 @@ The `--mountable` option tells the generator that you want to create a "mountabl
* A namespaced `ApplicationHelper` stub
* A layout view template for the engine
* Namespace isolation to `config/routes.rb`:
-
+
```ruby
Blorgh::Engine.routes.draw do
end
```
-
+
* Namespace isolation to `lib/blorgh/engine.rb`:
```ruby
@@ -789,7 +789,7 @@ module Blorgh::Concerns::Models::Post
extend ActiveSupport::Concern
# 'included do' causes the included code to be evaluated in the
- # context where it is included (post.rb), rather than be
+ # context where it is included (post.rb), rather than be
# executed in the module's context (blorgh/concerns/models/post).
included do
attr_accessor :author_name