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 |
|
Skud
|
c109905cb0
|
fixed recent activity sorting for posts
|
2013-08-21 21:42:58 +10: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
|
0d3588535e
|
Added RSS feed for all comments
|
2013-05-24 13:29:17 +10:00 |
|
Skud
|
57f8575ab9
|
removed unwanted @recent_comments, replaced w pagination
|
2013-05-24 12:54:57 +10:00 |
|
Miles Gould
|
c53dd6797f
|
Show other comments on post when editing a comment.
|
2013-04-29 21:44:30 +01:00 |
|
Miles Gould
|
2b84fa8bad
|
Show previous comments when creating a comment.
- Move "show previous comments" into a partial
- invoke said partial from the new comment form
- add tests.
|
2013-04-29 21:30:26 +01:00 |
|
Skud
|
8caa4d12e8
|
limit to recent comments
|
2013-02-08 18:14:37 +11:00 |
|
Skud
|
b7f3634615
|
redirect to post after deleting comment
|
2013-02-08 17:37:37 +11:00 |
|
Skud
|
f45434ff83
|
redirect to post after new/edit comment
|
2013-02-08 16:40:27 +11:00 |
|
Skud
|
3b3f9d261f
|
can't create a new post without a post_id
|
2013-02-08 15:02:21 +11:00 |
|
Skud
|
b6c759e521
|
edit comments
|
2013-02-08 14:49:07 +11:00 |
|
Skud
|
ae59b1e18d
|
pass post_id through to comment
|
2013-02-08 14:37:57 +11:00 |
|
Skud
|
a0a88bee11
|
comment form shouldn't have author/post fields
|
2013-02-08 14:14:07 +11:00 |
|
gnattery
|
3cff543184
|
rails g scaffold Comment
|
2013-02-06 14:49:49 +11:00 |
|