Class: Pulitzer::Layout

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/pulitzer/layout.rb

Instance Method Summary collapse

Instance Method Details

#template_pathObject



7
8
9
# File 'app/models/pulitzer/layout.rb', line 7

def template_path
  name.downcase.gsub(/ /,'_').gsub(/\W/,'')
end