Sha256: 311b2954c2e9a39b37205a380ef2c7ce8b1b4654509644e03e0de839e7a66db9
Contents?: true
Size: 449 Bytes
Versions: 5
Compression:
Stored size: 449 Bytes
Contents
require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' module Rails module Generators class RespondersControllerGenerator < ScaffoldControllerGenerator def self.source_root @source_root ||= File.expand_path("templates", File.dirname(__FILE__)) end protected def flash? !ApplicationController.responder.ancestors.include?(Responders::FlashResponder) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems