Commit graph

32 commits

Author SHA1 Message Date
Tom Naessens bdf4b6771f Add cancan, fix header, add admins 2014-12-09 19:44:58 +01:00
Benjamin Cousaert da12b71938 Remove email from Devise users and use nickname as primary key 2014-12-09 18:56:56 +01:00
Benjamin Cousaert da22af605f Add devise to users 2014-12-09 17:17:11 +01:00
Benjamin Cousaert 20d968a7ef merge conflict 2014-12-09 14:45:18 +01:00
Tom Naessens 1a50fb5cf2 Make things a lot more beautiful 2014-12-09 14:39:27 +01:00
Benjamin Cousaert a52f74d1a1 Remove admins 2014-12-09 13:10:15 +01:00
Benjamin Cousaert ee5ebd7ba4 Add payment after order create for users 2014-12-09 10:57:38 +01:00
Benjamin Cousaert 12b3a68972 Add total price to order form 2014-12-09 09:43:21 +01:00
Benjamin Cousaert 3e7658df9f Add devise for admins 2014-12-09 07:05:30 +01:00
Benjamin Cousaert b30b527650 Small commit, for iasoon <3 2014-12-08 17:56:48 +01:00
Benjamin Cousaert b9e42b8bc1 Move logic to model 2014-12-08 11:41:38 +01:00
Benjamin Cousaert 5efef27454 remove some sql queries 2014-12-06 17:51:41 +01:00
Benjamin Cousaert c3729a5964 new order with decent rails 2014-12-05 16:15:07 +01:00
Benjamin Cousaert 7ddd1d5775 Fix bug with count for products in orders 2014-12-05 07:55:28 +01:00
Benjamin Cousaert 552f811fea Add paperclip to gems and avatar to products 2014-12-04 20:32:31 +01:00
Benjamin Cousaert 182932abf5 Add Annotate Gem and some more validations 2014-12-04 19:50:02 +01:00
Benjamin Cousaert 95aaca802f Fix view of orders/new 2014-12-04 17:02:08 +01:00
Benjamin Cousaert 3553901b7c Add counter for number of each product in order 2014-11-29 11:06:22 +01:00
Benjamin Cousaert 64113790cf belongs_to a single instance of model 2014-11-25 21:34:29 +01:00
Benjamin Cousaert 60bf8030e5 Add many to many relation between orders and products 2014-11-25 14:27:27 +01:00
Benjamin Cousaert b423a9d0e8 Add some validations to User and errors to form 2014-11-25 11:30:55 +01:00
ohsab 73e24e2b55 shit werkt met vuile hacks 2014-11-25 02:01:57 +01:00
ohsab cd78e5719d order form almost done 2014-11-24 21:45:32 +01:00
ohsab 4318f5b56a 't moet af, orders werken 2014-11-23 21:12:31 +01:00
Basho df24bcd58e gefaalde orders 2014-11-10 22:57:37 +01:00
ohsab d47e9af80c product edits 2014-11-10 17:06:50 +01:00
ohsab c62b064128 producten 2014-11-10 15:52:54 +01:00
Basho 3dd5873a55 orders create 2014-11-10 02:30:42 +01:00
Basho d3cdb9fcd7 order model 2014-11-09 22:53:39 +01:00
MatsMyncke 806dc1d8f7 users en sessies 2014-11-06 18:30:53 +01:00
MatsMyncke 44185e8552 users 2014-11-06 16:25:27 +01:00
MatsMyncke 46b74305bf basis dingen 2014-11-06 14:46:59 +01:00