SHIMADA Koji
null+****@clear*****
Mon Oct 8 12:30:57 JST 2012
SHIMADA Koji 2012-10-08 12:30:57 +0900 (Mon, 08 Oct 2012) New Revision: 4b564e5f9262ebf7322ec2ea2d8e62f48fd3f7ff https://github.com/logaling/logaling-server/commit/4b564e5f9262ebf7322ec2ea2d8e62f48fd3f7ff Log: Fix cuke Modified files: app/helpers/application_helper.rb Modified: app/helpers/application_helper.rb (+1 -1) =================================================================== --- app/helpers/application_helper.rb 2012-10-08 11:42:19 +0900 (c670340) +++ app/helpers/application_helper.rb 2012-10-08 12:30:57 +0900 (96700ac) @@ -21,7 +21,7 @@ module ApplicationHelper def link_to_glossary_with(term) if term.github_project? - github_project_id = term.glossary_name_without_github.gsub('-', '/') + github_project_id = term.glossary_name_without_github.sub('-', '/') bilingual_pair = [term.source_language, term.target_language].join('-') link_to(term.glossary_name_without_github, github_project_glossary_path(id: bilingual_pair, github_project_id: github_project_id)) elsif term.user_glossary? -------------- next part -------------- An HTML attachment was scrubbed...Download