Open mices opened 11 months ago
class ApplicationController < ActionController::Base before_action :configure_permitted_parameters, if: :devise_controller? protect_from_forgery with: :exception include PublicActivity::StoreController
WillPaginate.per_page = 75
protected
def configure_permitted_parameters devise_parameter_sanitizer.permit(:sign_up, keys:[:email, :name, :first_name, :last_name, :middle_name, :birth_date, :birth_place_country, :birth_place_state, :birth_place_city, :country, :state, :city, :gender, :band, :genre, :password, :password_confirmation]) end
class ApplicationController < ActionController::Base before_action :configure_permitted_parameters, if: :devise_controller? protect_from_forgery with: :exception include PublicActivity::StoreController
WillPaginate.per_page = 75
protected