Delete unused localized_fragment_exist? method
This commit is contained in:
parent
8d2ed67d89
commit
ff1f3aa68c
1 changed files with 0 additions and 5 deletions
|
@ -41,11 +41,6 @@ class ApplicationController < ActionController::Base
|
|||
I18n.default_locale
|
||||
end
|
||||
|
||||
def localized_fragment_exist?(key)
|
||||
localized_key = localize_fragment_key(key, locale)
|
||||
fragment_exist?(localized_key)
|
||||
end
|
||||
|
||||
def not_found(record_name='record')
|
||||
raise ActionController::RoutingError.new("#{record_name} not found")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue