aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorWeston Platter <westonplatter@gmail.com>2013-01-24 02:42:40 -0600
committerWeston Platter <westonplatter@gmail.com>2013-01-24 02:42:40 -0600
commit97b249112d2a66ac19828e0c3875681d4d60c08f (patch)
treef45a66b774256ceba378e38f371b51233cf7b513 /guides
parent9133aadfe2f390efe6c931a39c8724189b1d5bff (diff)
downloadrails-97b249112d2a66ac19828e0c3875681d4d60c08f.tar.gz
rails-97b249112d2a66ac19828e0c3875681d4d60c08f.tar.bz2
rails-97b249112d2a66ac19828e0c3875681d4d60c08f.zip
[engines guide] reformatted some stuff
Diffstat (limited to 'guides')
-rw-r--r--guides/source/engines.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index 20989cc61b..459aa8d57e 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -799,9 +799,9 @@ module Blorgh::Concerns::Models::Post
private
- def set_author
- self.author = User.find_or_create_by(name: author_name)
- end
+ def set_author
+ self.author = User.find_or_create_by(name: author_name)
+ end
end
def summary