Commit e4777a8f36b798b6e6705e6a9d386056ad59b08f
1 parent
16dbdefc
Exists in
master
and in
27 other branches
Fixes indentation
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/my_profile/cms_controller.rb
@@ -496,7 +496,7 @@ class CmsController < MyProfileController | @@ -496,7 +496,7 @@ class CmsController < MyProfileController | ||
496 | 496 | ||
497 | parent = parent_id.present? ? profile.articles.find(parent_id) : nil | 497 | parent = parent_id.present? ? profile.articles.find(parent_id) : nil |
498 | if parent.present? | 498 | if parent.present? |
499 | - files = parent.children.files | 499 | + files = parent.children.files |
500 | else | 500 | else |
501 | files = profile.files | 501 | files = profile.files |
502 | end | 502 | end |