Sha256: e6bf4c0f62b06d4a0bcc1db67268ba76644351f3b8c638fec6bf41e06e4b17cb

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

require 'rails/generators'

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

      desc 'Creates a socialite initializer'
      def copy_initializer
        template 'socialite.rb', 'config/initializers/socialite.rb'
      end

      # def add_opro_routes
        # socialite_routes = "mount_socialite_oauth"
        # route socialite_routes
      # end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
socialite-0.1.0.pre lib/generators/socialite/install_generator.rb