[logaling-commit] logaling/logaling-server [master] Change UserGlossaryController to UserGlossariesController

Zurück zum Archiv-Index

SUZUKI Miho null+****@clear*****
Fri Sep 7 15:21:17 JST 2012


SUZUKI Miho	2012-09-07 15:21:17 +0900 (Fri, 07 Sep 2012)

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

  Merged c5d082c: Merge pull request #13 from logaling/enable-creating-user-glossary

  Log:
    Change UserGlossaryController to UserGlossariesController

  Added files:
    app/controllers/user_glossaries_controller.rb
  Removed files:
    app/controllers/user_glossary_controller.rb
  Modified files:
    config/routes.rb
  Renamed files:
    app/views/user_glossaries/new.html.haml
      (from app/views/user_glossary/new.html.haml)

  Added: app/controllers/user_glossaries_controller.rb (+4 -0) 100644
===================================================================
--- /dev/null
+++ app/controllers/user_glossaries_controller.rb    2012-09-07 15:21:17 +0900 (9b46803)
@@ -0,0 +1,4 @@
+class UserGlossariesController < ApplicationController
+  def new
+  end
+end

  Deleted: app/controllers/user_glossary_controller.rb (+0 -4) 100644
===================================================================
--- app/controllers/user_glossary_controller.rb    2012-09-06 20:14:15 +0900 (ab2b621)
+++ /dev/null
@@ -1,4 +0,0 @@
-class UserGlossaryController < ApplicationController
-  def new
-  end
-end

  Renamed: app/views/user_glossaries/new.html.haml (+0 -0) 100%
===================================================================

  Modified: config/routes.rb (+1 -1)
===================================================================
--- config/routes.rb    2012-09-06 20:14:15 +0900 (ddd0334)
+++ config/routes.rb    2012-09-07 15:21:17 +0900 (682ee8a)
@@ -18,7 +18,7 @@ LogalingServer::Application.routes.draw do
   match '/auth/failure', to: 'sessions#failure'
   match "/signout" => "sessions#destroy", :as => :signout
   match "/dashboard" => "dashboard#show", :as => :dashboard
-  match "/users/:id/glossaries/new" => "user_glossary#new", :as => :new_user_glossary
+  match "/users/:id/glossaries/new" => "user_glossaries#new", :as => :new_user_glossary
 
   root :to => 'top#index'
 end
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



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