[logaling-commit] logaling/logaling-server [master] Rename #reset_of_user_config? to #reset?

Back to archive index

SHIMADA Koji null+****@clear*****
Wed Sep 26 08:33:43 JST 2012


SHIMADA Koji	2012-09-26 08:33:43 +0900 (Wed, 26 Sep 2012)

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

  Log:
    Rename #reset_of_user_config? to #reset?
    
    see:
    https://github.com/logaling/logaling-server/commit/8f8784b2d26fde44667268690efd611ea01a88aa#commitcomment-1904921

  Modified files:
    app/controllers/user_configs_controller.rb

  Modified: app/controllers/user_configs_controller.rb (+1 -1)
===================================================================
--- app/controllers/user_configs_controller.rb    2012-09-25 21:20:41 +0900 (bc93bd5)
+++ app/controllers/user_configs_controller.rb    2012-09-26 08:33:43 +0900 (3305711)
@@ -23,7 +23,7 @@ class UserConfigsController < ApplicationController
   end
 
   private
-  def reset_of_user_config?(current_user_config, submitted_config_data)
+  def reset?(current_user_config, submitted_config_data)
     current_user_config.glossary_name == submitted_config_data[:glossary_name] &&
     current_user_config.source_language == submitted_config_data[:source_language] &&
     current_user_config.target_language == submitted_config_data[:target_language]
-------------- next part --------------
An HTML attachment was scrubbed...
下載 



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