Sha256: 5af9aa96f6d32f771b6617a1d1a1913bfabe3976309050cac0406c83c1dd964c
Contents?: true
Size: 348 Bytes
Versions: 9
Compression:
Stored size: 348 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery before_filter :configure_permitted_parameters, :if => :devise_controller? protected def configure_permitted_parameters devise_parameter_sanitizer.for(:sign_up) { |u| u.permit(:email, :password, :bio) } if defined?(ActionController::StrongParameters) end end
Version data entries
9 entries across 9 versions & 1 rubygems