Sha256: 88f2e0ed43eab88c3c344b01d8fb5de78b8b22f2122b106b2e88230cc8884e51

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

require "rails/generators/base"

module DuodealerApp
  module Generators
    class AuthenticatedControllerGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      def create_home_controller
        template("authenticated_controller.rb", "app/controllers/authenticated_controller.rb")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
duodealer_app-1.0.4 lib/generators/duodealer_app/authenticated_controller/authenticated_controller_generator.rb
duodealer_app-1.0.3 lib/generators/duodealer_app/authenticated_controller/authenticated_controller_generator.rb
duodealer_app-1.0.2 lib/generators/duodealer_app/authenticated_controller/authenticated_controller_generator.rb