Sha256: 4af3f15e34626dd578ca2c121d9654692caba8245d87988867624a34a874964d
Contents?: true
Size: 989 Bytes
Versions: 14
Compression:
Stored size: 989 Bytes
Contents
module Maestrano module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) desc "Creates a Maestrano initializer and a customizable controller for SAML Single Sign-On" def copy_initializer template "maestrano.rb", "config/initializers/maestrano.rb" end def copy_saml_controller template "saml_controller.rb", "app/controllers/maestrano/auth/saml_controller.rb" end def copy_account_groups_controller template "groups_controller.rb", "app/controllers/maestrano/account/groups_controller.rb" end def copy_account_group_users_controller template "group_users_controller.rb", "app/controllers/maestrano/account/group_users_controller.rb" end def add_maestrano_routes maestrano_routes = <<-CONTENT maestrano_routes CONTENT route maestrano_routes end end end end
Version data entries
14 entries across 14 versions & 2 rubygems