diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-25 18:20:52 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-09-26 16:32:22 -0400 |
commit | 835be5b1bf25fc0509ef1b1f7f7f2e3a344ff231 (patch) | |
tree | 1f416e1ae86649d8840a369d0f2223b76873d6f8 /lib/extracts_path.rb | |
parent | 3574826920eb958c5e59e86bb79b0773c187abfb (diff) | |
download | gitlab-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.rb | 2 |
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 |