Sha256: f3c4fca0449652aeb9c35d21a8cb5f8b6a00e636ff935bdde2dc9a9a447fcc2f

Contents?: true

Size: 191 Bytes

Versions: 4

Compression:

Stored size: 191 Bytes

Contents

class SignInsController::UserParams < Aldous::Params
  def permitted_params
    params.require(:user).permit(:email, :password)
  end

  def error_message
    'Missing param :user'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 examples/basic_todo/app/controller_actions/sign_ins_controller/user_params.rb
aldous-1.1.2 examples/basic_todo/app/controller_actions/sign_ins_controller/user_params.rb
aldous-1.0.1 examples/basic_todo/app/controller_actions/sign_ins_controller/user_params.rb
aldous-1.0.0 examples/basic_todo/app/controller_actions/sign_ins_controller/user_params.rb