[logaling-commit] logaling/logaling-server [master] Add link to Glossaries#show

Back to archive index

null+****@clear***** null+****@clear*****
Thu Jul 12 19:12:13 JST 2012


SUZUKI Miho	2012-07-12 19:12:13 +0900 (Thu, 12 Jul 2012)

  New Revision: 77dcb03b2f14280b189531b7b59e3855e5f97a8f
  https://github.com/logaling/logaling-server/commit/77dcb03b2f14280b189531b7b59e3855e5f97a8f

  Merged ba9eeff: Merge pull request #5 from logaling/show-terms-of-glossary

  Log:
    Add link to Glossaries#show

  Modified files:
    app/views/github_projects/show.html.haml

  Modified: app/views/github_projects/show.html.haml (+2 -1)
===================================================================
--- app/views/github_projects/show.html.haml    2012-07-12 17:36:43 +0900 (d09cebb)
+++ app/views/github_projects/show.html.haml    2012-07-12 19:12:13 +0900 (f32fa2e)
@@ -5,4 +5,5 @@
   %p= @github_project.remote_repository_url
   %p
     - @github_project.glossaries.each do |glossary|
-      = [glossary.source_language, glossary.target_language].join('-')
+      - bilingual_pair = [glossary.source_language, glossary.target_language].join('-')
+      = link_to bilingual_pair, github_project_glossary_path(:id => bilingual_pair, :github_project_id => @github_project)
-------------- next part --------------
An HTML attachment was scrubbed...
다운로드 



More information about the logaling-commit mailing list
Back to archive index