diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-06-10 09:35:32 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-06-25 10:40:37 +0100 |
commit | e490c4a7ec7157e794d849c962371e298d8342d9 (patch) | |
tree | 0cf3509b2b9ed6c69ce41b046633ab5c49a9fb81 /app/helpers/highlight_helper.rb | |
parent | 4d9c89d0e416825eb52a720d74230f547454ba31 (diff) |
Add spec for highlight_and_excerpt
Diffstat (limited to 'app/helpers/highlight_helper.rb')
-rw-r--r-- | app/helpers/highlight_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/highlight_helper.rb b/app/helpers/highlight_helper.rb index 06ade48ee..a98f6f320 100644 --- a/app/helpers/highlight_helper.rb +++ b/app/helpers/highlight_helper.rb @@ -1,4 +1,5 @@ module HighlightHelper + include ERB::Util # Implementation of rails' highlight that allows regex to be passed to # the phrases parameter. |