app/controllers/archangel/auth_controller.rb in archangel-0.3.0 vs app/controllers/archangel/auth_controller.rb in archangel-0.4.0

- old
+ new

@@ -3,18 +3,23 @@ module Archangel ## # Authentication base controller # class AuthController < ApplicationController - before_action :configure_permitted_parameters + include Archangel::Controllers::MetatagableConcern protected + ## + # Theme layout + # + # @return [String] auth + # def layout_from_theme "auth" end - def configure_permitted_parameters - devise_parameter_sanitizer.permit(:sign_up, keys: %i[name username]) + def default_meta_tags + super.merge(noindex: true, nofollow: true, noarchive: true) end end end