search engine improvements and simple test
git-svn-id: http://redmine.rubyforge.org/svn/trunk@285 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -15,5 +15,9 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
module ProjectsHelper
|
||||
module ProjectsHelper
|
||||
def result_overview(text, token)
|
||||
match = excerpt(text, token)
|
||||
match ? highlight(match, token) : truncate(text, 150)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user