summaryrefslogtreecommitdiff
path: root/lib/extracts_path.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-25 18:20:52 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-26 16:32:22 -0400
commit835be5b1bf25fc0509ef1b1f7f7f2e3a344ff231 (patch)
tree1f416e1ae86649d8840a369d0f2223b76873d6f8 /lib/extracts_path.rb
parent3574826920eb958c5e59e86bb79b0773c187abfb (diff)
downloadgitlab-ce-835be5b1bf25fc0509ef1b1f7f7f2e3a344ff231.tar.gz
ExtractPaths - Only call assign_ref_vars on show action
Diffstat (limited to 'lib/extracts_path.rb')
-rw-r--r--lib/extracts_path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb
index 6648ffdc9a3..f36dae5289b 100644
--- a/lib/extracts_path.rb
+++ b/lib/extracts_path.rb
@@ -8,7 +8,7 @@ module ExtractsPath
included do
if respond_to?(:before_filter)
- before_filter :assign_ref_vars
+ before_filter :assign_ref_vars, only: [:show]
end
end