Commit 68479c0

mo <mo.khan@gmail.com>
2017-08-30 03:19:10
remove the redefined translate.
1 parent e650444
Changed files (1)
app
controllers
app/controllers/concerns/internationalizationable.rb
@@ -6,12 +6,6 @@ module Internationalizationable
     around_action :with_locale
   end
 
-  protected
-
-  def translate(key)
-    I18n.translate("#{params[:controller]}.#{params[:action]}#{key}")
-  end
-
   private
 
   def with_time_zone