Module: TypeStation::Concerns::Templatable

Extended by:
ActiveSupport::Concern
Included in:
Page
Defined in:
lib/type_station/concerns/templatable.rb

Instance Method Summary collapse

Instance Method Details

#template_name?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/type_station/concerns/templatable.rb', line 10

def template_name?
  template_name.present? && template_name != 'undefined'
end