module Verse::Controller::StrongParams
Public Instance Methods
admin_attributes()
click to toggle source
# File lib/verse/controller/strong_params.rb, line 34 def admin_attributes; end
business_attributes()
click to toggle source
# File lib/verse/controller/strong_params.rb, line 25 def business_attributes params.require(:business).permit(:name, :slug, { admins_attributes: [:admin_id] }) end
email_attributes()
click to toggle source
Verse::Auth
/ Verse::Contactable
# File lib/verse/controller/strong_params.rb, line 5 def email_attributes; end
entity_attributes()
click to toggle source
# File lib/verse/controller/strong_params.rb, line 17 def entity_attributes params.require(:entity).permit(:name, :slug, { admins_attributes: [:admin_id] }) end
household_attributes()
click to toggle source
# File lib/verse/controller/strong_params.rb, line 29 def household_attributes params.require(:household).permit(:name, { admins_attributes: [:admin_id] }) end
person_attributes()
click to toggle source
# File lib/verse/controller/strong_params.rb, line 21 def person_attributes params.require(:person).permit(:name, :slug, { admins_attributes: [:admin_id] }) end
session_attributes()
click to toggle source
# File lib/verse/controller/strong_params.rb, line 8 def session_attributes params.require(:session).permit(:login, :password) end
user_attributes()
click to toggle source
# File lib/verse/controller/strong_params.rb, line 12 def user_attributes params.require(:user).permit(:name, :username, :email, :password, :password_confirmation) end