Sha256: 1ba183640224d592ea1117aabdc0e08231ed3527ef2e7e3f63008407adf4cc94
Contents?: true
Size: 420 Bytes
Versions: 13
Compression:
Stored size: 420 Bytes
Contents
require "generators/rspec" module Shamu module Generators # @!visibility private class ApiControllerGenerator < ::Rails::Generators::Base desc "Generate the default api conroller for JSON API responses" source_root File.expand_path("../templates", __FILE__) def copy_api_controller_file copy_file "api_controller.rb", "app/controllers/api_controller.rb" end end end end
Version data entries
13 entries across 13 versions & 1 rubygems