summaryrefslogtreecommitdiff
path: root/app/models/concerns/presentable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/presentable.rb')
-rw-r--r--app/models/concerns/presentable.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/concerns/presentable.rb b/app/models/concerns/presentable.rb
index 7b33b837004..d0f84831d71 100644
--- a/app/models/concerns/presentable.rb
+++ b/app/models/concerns/presentable.rb
@@ -1,7 +1,7 @@
module Presentable
def present(**attributes)
- Gitlab::View::Presenter::Factory
- .new(self, attributes)
- .fabricate!
+ Gitlab::View::Presenter::Factory.
+ new(self, attributes).
+ fabricate!
end
end