Sha256: bed0ba6d1f75c342cba1c4a762ba31172b8e7780f66e778a71638a763f88243f

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

<%
our_class_name = class_name.camelize
our_class_name += "Mailer" if @path =~ %r{_mailer/}
-%>
class Views::<%= our_class_name %>::<%= @action.camelize %> < Views::Base
  needs :greeting

  def content
    h1 "<%= class_name %>#<%= @action %>"
    p "#{greeting}, find me in <%= @path %>"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fortitude-0.9.6-java lib/rails/generators/fortitude/mailer/templates/view.html.rb
fortitude-0.9.6 lib/rails/generators/fortitude/mailer/templates/view.html.rb