Sha256: 356178c0cd90eea45ce16c016532d1b46a1f693ee73d30d082a136bd61b09d17
Contents?: true
Size: 1.54 KB
Versions: 5
Compression:
Stored size: 1.54 KB
Contents
controller_template: type: file template_path: <%= File.join(templates_directory_path, "app", "controllers", "controller.rb.template") %> output_path: <%= File.join("app", "controllers", "#{@name_plural}_controller.rb") %> edit_template: type: file template_path: <%= File.join(templates_directory_path, "app", "views", "edit.html.erb.template") %> output_path: <%= File.join("app", "views", @name_plural, "edit.html.erb") %> index_template: type: file template_path: <%= File.join(templates_directory_path, "app", "views", "index.html.erb.template") %> output_path: <%= File.join("app", "views", @name_plural, "index.html.erb") %> new_template: type: file template_path: <%= File.join(templates_directory_path, "app", "views", "new.html.erb.template") %> output_path: <%= File.join("app", "views", @name_plural, "new.html.erb") %> show_template: type: file template_path: <%= File.join(templates_directory_path, "app", "views", "show.html.erb.template") %> output_path: <%= File.join("app", "views", @name_plural, "show.html.erb") %> <% if @test_framework == "test_case" -%> functional_test_template: type: file template_path: <%= File.join(templates_directory_path, "test.rb.template") %> output_path: <%= File.join("test", "functional", "#{@name_plural}_controller_test.rb") %> <% elsif @test_framework == "rspec" -%> functional_test_template: type: file template_path: <%= File.join(templates_directory_path, "spec.rb.template") %> output_path: <%= File.join("test", "functional", "#{@name_plural}_controller_spec.rb") %> <% end -%>
Version data entries
5 entries across 5 versions & 1 rubygems