Brenda Wallace
|
0446c0a405
|
Add ordering back into controller #index
|
2017-11-29 20:59:37 +13:00 |
|
Brenda Wallace
|
3e93fb5e2e
|
Add responders on products controller
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
97a763660a
|
DRY the products controller
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
5d654175a9
|
A bunch of single line methods
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
4f465d808c
|
We don't need to load the resource again
|
2016-12-07 23:54:03 +00:00 |
|
Brenda Wallace
|
07c135eeb5
|
before_filter is now before_action
|
2016-11-26 17:20:13 +13:00 |
|
Brenda Wallace
|
c878baa886
|
Indented parameters cleanup
|
2016-11-26 11:41:07 +13:00 |
|
Taylor Griffin
|
a35a573b2b
|
update follow member code to be rails 4 compatible
|
2014-12-14 14:51:18 +11:00 |
|
Yoong Kang Lim
|
837121265a
|
Reversed order of authorization and authentication. Also added tests
|
2014-12-09 21:27:16 +11:00 |
|
Yoong Kang Lim
|
81d1189203
|
Added a before_filter for any action that requires authentication. Will redirect to login page if not logged in
|
2014-11-24 22:12:42 +11:00 |
|
Taylor Griffin
|
acbd3f9a9e
|
implement strong parameters instead of protected attributes
|
2014-11-18 20:08:54 +11:00 |
|
Skud
|
a3b7822268
|
Review and cleanup of JSON API
Removed JSON from classes that shouldn't have it.
(PT: https://www.pivotaltracker.com/story/show/54570954)
Also found a couple of controllers with broken authorization (i.e. not
checking CanCan). Incidentally, this also fixes the comment form bug at
https://www.pivotaltracker.com/story/show/54328716.
|
2013-08-05 13:29:07 +10:00 |
|
Skud
|
26d16b9d86
|
only admins can mess with products/orders for now
|
2013-05-07 21:24:26 +10:00 |
|
Skud
|
af38f8574e
|
rails g scaffold Product...
|
2013-05-07 21:13:23 +10:00 |
|