class SpRailsSaml::ViewsGenerator

Public Instance Methods

create_saml_setting_view() click to toggle source
# File lib/generators/sp-rails-saml/views_generator.rb, line 15
def create_saml_setting_view
  return unless options['settings']

  copy_file 'views/saml/edit.html.erb', 'app/views/saml/saml_settings/edit.html.erb'
  copy_file 'views/saml/show.html.erb', 'app/views/saml/saml_settings/show.html.erb'
end
create_session_view() click to toggle source
# File lib/generators/sp-rails-saml/views_generator.rb, line 11
def create_session_view
  copy_file 'views/sessions/new.html.erb', 'app/views/saml/sessions/new.html.erb'
end