Method: BooticCli::Themes::FSTheme.resolve_type
- Defined in:
- lib/bootic_cli/themes/fs_theme.rb
.resolve_type(path) ⇒ Object
helper to resolve the right type (Template or Asset) from a local path this is not part of the generic Theme interface
38 39 40 |
# File 'lib/bootic_cli/themes/fs_theme.rb', line 38 def self.resolve_type(path) path =~ /assets\// ? :asset : :template end |