Class: ActionView::AssetPaths
- Inherits:
-
Object
- Object
- ActionView::AssetPaths
- Defined in:
- lib/i18n/assets/sprockets.rb
Instance Method Summary collapse
- #compute_public_path(source, dir, options = nil) ⇒ Object
- #compute_public_path_without_locale ⇒ Object
Instance Method Details
#compute_public_path(source, dir, options = nil) ⇒ Object
127 128 129 130 |
# File 'lib/i18n/assets/sprockets.rb', line 127 def compute_public_path(source, dir, = nil) source = prepend_locale(source) if local_resource?(source) && file_localizable?(source, ) && !file_already_localized?(source) compute_public_path_without_locale(source, dir, ) end |
#compute_public_path_without_locale ⇒ Object
125 |
# File 'lib/i18n/assets/sprockets.rb', line 125 alias_method :compute_public_path_without_locale, :compute_public_path |