From 0398bb23cba2633496428b86bbaf9c42772d59ae Mon Sep 17 00:00:00 2001 From: rgarcia Date: Thu, 22 Mar 2018 21:29:19 +0100 Subject: [PATCH] Consistent spacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Temporarily… because there are 2 kinds of Ruby developers, those who indent methods under `private` and does who don’t https://gist.github.com/joefiorini/1049083#gistcomment-37692 --- app/models/budget/group.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/budget/group.rb b/app/models/budget/group.rb index a32c7c90d..bfbfd4741 100644 --- a/app/models/budget/group.rb +++ b/app/models/budget/group.rb @@ -16,9 +16,9 @@ class Budget private - def generate_slug? - slug.nil? || budget.drafting? - end + def generate_slug? + slug.nil? || budget.drafting? + end end end