Sha256: 9a8c6f1413d8c7ad49a38a9db90d00c2041771e42c4748d065eb48c2e7214058

Contents?: true

Size: 284 Bytes

Versions: 38

Compression:

Stored size: 284 Bytes

Contents

# Helper methods defined here can be accessed in any controller or view in the application

module <%= @project_name %>
  class <%= @app_name %>
    module <%= @helper_name %>
      # def simple_helper_method
      # ...
      # end
    end

    helpers <%= @helper_name %>
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
padrino-gen-0.16.0.pre3 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.16.0.pre2 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.15.3 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.15.2 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.15.1 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.15.0 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.4 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.3 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.12.9 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.2 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.13.3.4 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.1.1 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.1 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.0.2 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.0.1 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.0 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.0.rc2 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.14.0.rc1 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.13.3.3 lib/padrino-gen/generators/templates/helper.rb.tt
padrino-gen-0.13.3.2 lib/padrino-gen/generators/templates/helper.rb.tt