[logaling-commit] logaling/logaling-server [master] Improve style. thanks @kou

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
Fri Jul 13 14:21:52 JST 2012


SHIMADA Koji	2012-07-13 14:21:52 +0900 (Fri, 13 Jul 2012)

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

  Log:
    Improve style. thanks @kou
    
    https://github.com/logaling/logaling-server/commit/fedc0a42d74b05eabb68fe6f5117384ba2cd1429#commitcomment-1575347

  Modified files:
    config/routes.rb

  Modified: config/routes.rb (+5 -5)
===================================================================
--- config/routes.rb    2012-07-13 00:35:21 +0900 (c1c8c33)
+++ config/routes.rb    2012-07-13 14:21:52 +0900 (b340802)
@@ -4,12 +4,12 @@ LogalingServer::Application.routes.draw do
   get "top/index"
 
   resources :github_projects,
-    :path => 'github',
-    :constraints => {:id => %r{[^/]+/[^/]+}},
-    :only => [:show, :new, :create] do
+            :path => 'github',
+            :constraints => {:id => %r{[^/]+/[^/]+}},
+            :only => [:show, :new, :create] do
     resources :glossaries,
-      :constraints => {:id => %r{[^-]+-[^-]+}},
-      :only => :show
+              :constraints => {:id => %r{[^-]+-[^-]+}},
+              :only => :show
   end
 
   # The priority is based upon order of creation:
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Zurück zum Archiv-Index