Sha256: 8d60af30cb0981dab7edf59ed39bc6c773c7e64795a172b8039bdd94afdad843
Contents?: true
Size: 446 Bytes
Versions: 6
Compression:
Stored size: 446 Bytes
Contents
require '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
6 entries across 6 versions & 1 rubygems