Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-05-31 10:42:16 +0300
committerPhil Hughes <me@iamphill.com>2019-05-31 10:42:16 +0300
commitb095a0818d148cf930b979008dba333660bb813b (patch)
treee61faa2d15de1d8357480308d2a1696347712676
parentd8058a0a985ac6e3fc974d8dc5c610de3026009a (diff)
parent9b288a7091f008fa27f69b638477b51ec5fa2933 (diff)
Merge branch 'remove-render-if-exists-partial-caveat' into 'master'
Remove render_if_exists partial caveat See merge request gitlab-org/gitlab-ce!28959
-rw-r--r--doc/development/ee_features.md9
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/development/ee_features.md b/doc/development/ee_features.md
index 857595330aa..d0db1a61935 100644
--- a/doc/development/ee_features.md
+++ b/doc/development/ee_features.md
@@ -459,15 +459,6 @@ Resolving an EE template path that is relative to the CE view path will not work
= render_if_exists 'projects/button' # Will render `ee/app/views/projects/_button`
```
-You should not explicitly set render options like `partial` or provide a `locals` hash.
-The first argument should be a path string and the second can be a hash replacing `locals`.
-
-```ruby
-render partial: 'projects/button', locals: { project: project }
-# becomes
-render_if_exists 'projects/button', project: project
-```
-
#### Using `render_ce`
For `render` and `render_if_exists`, they search for the EE partial first,