Item - Sabrout/Kenllen GitHub Wiki

#MCV

Model

UserModel

Controller

SessionController ##Helper N/A ##Views N/A #In-depth ##Controller ###Methods Available ####Public Methods show: finds the user using his ID update: changes and updates the user's information and redirects him to viewing his page create: creates a new item with the info provided and redirects to showing all items ####Private Methods item_params: methods used for security purposes (allow specific fields to be accessed). ##Helper None Used ##Views N/A