Create Shop - Sabrout/Kenllen GitHub Wiki
#MCV
Model
Controller
shops_controller ##Helper None Used ##Views New #In-depth ##Controller ###Methods Available ####Public Methods new: calls a form for the user to insert the information of the shop he/she wants to create. create: takes input from the textfields in the view and creates a shop with the entered ####Private Methods shop_params: methods used for security purposes (allow specific fields to be accessed). ##Helper None Used ##Views new: uses Shops Stylesheet and [Application Stylesheet] (https://github.com/Sabrout/Kenllen/blob/CreateShop/app/assets/stylesheets/application.css)