[logaling-commit] logaling/logaling-server [master] Move helper into ApplicationHelper

Back to archive index

SHIMADA Koji null+****@clear*****
Thu Sep 27 01:44:47 JST 2012


SHIMADA Koji	2012-09-27 01:44:47 +0900 (Thu, 27 Sep 2012)

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

  Merged ef3396d: Merge pull request #17 from logaling/apply-design

  Log:
    Move helper into ApplicationHelper

  Modified files:
    app/helpers/application_helper.rb
    app/helpers/search_helper.rb

  Modified: app/helpers/application_helper.rb (+4 -0)
===================================================================
--- app/helpers/application_helper.rb    2012-09-27 01:43:54 +0900 (81de8a7)
+++ app/helpers/application_helper.rb    2012-09-27 01:44:47 +0900 (e70bd50)
@@ -10,4 +10,8 @@ module ApplicationHelper
     end
     raw(buffer)
   end
+
+  def github_project?(glossary_name)
+    glossary_name =~ /^github/
+  end
 end

  Modified: app/helpers/search_helper.rb (+0 -3)
===================================================================
--- app/helpers/search_helper.rb    2012-09-27 01:43:54 +0900 (071f9e0)
+++ app/helpers/search_helper.rb    2012-09-27 01:44:47 +0900 (b3ce20a)
@@ -1,5 +1,2 @@
 module SearchHelper
-  def github_project?(glossary_name)
-    glossary_name =~ /^github/
-  end
 end
-------------- next part --------------
An HTML attachment was scrubbed...
下載 



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