Sha256: 4ee1843e587fb441250de39374cbd62094d04e4d4a2dbcd7f6b50dabe147e1b3
Contents?: true
Size: 908 Bytes
Versions: 4
Compression:
Stored size: 908 Bytes
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") %> views_migrations: type: directory output_path: <%= File.join("app", "views", @name_plural) %> <% if app_config.mack.testing_framework == "test_case" -%> test_template: type: file template_path: <%= File.join(templates_directory_path, "test", "controllers", "test_case.rb.template") %> output_path: <%= File.join("test", "controllers", "#{@name_plural}_controller_test.rb") %> <% elsif app_config.mack.testing_framework == "rspec" -%> test_template: type: file template_path: <%= File.join(templates_directory_path, "test", "controllers", "rspec.rb.template") %> output_path: <%= File.join("test", "controllers", "#{@name_plural}_controller_spec.rb") %> <% end -%>
Version data entries
4 entries across 4 versions & 1 rubygems