Sam
|
41986cdb2f
|
Refactor requires login logic, reduce duplicate code
This also corrects the positioning in the chain of the check
and removes misuse of prepend_before_action
|
2018-02-01 15:17:59 +11:00 |
Sam
|
f2e7b74d88
|
FIX: don't return 200s when login is required to paths
When running `ensure_login_required` it should always happen prior to
`check_xhr` cause check xhr will trigger a 200 response
|
2018-02-01 12:26:45 +11:00 |
Guo Xiang Tan
|
77d4c4d8dc
|
Fix all the errors to get our tests green on Rails 5.1.
|
2017-09-25 13:48:58 +08:00 |
Guo Xiang Tan
|
5012d46cbd
|
Add rubocop to our build. (#5004)
|
2017-07-28 10:20:09 +09:00 |
Sam
|
e5888cf090
|
PERF: avoid preloading json in cases where it is not needed
(uploads / avatars / non GET requests)
|
2015-05-20 17:12:16 +10:00 |
Sam
|
e26b3662ee
|
drafts were saving but client was failing to parse
|
2013-09-11 16:18:46 +10:00 |
Sarah Vessels
|
54c7b1ab63
|
Use consistent new-style hashes in render calls *twitch*
|
2013-03-22 14:08:11 -04:00 |
Jakub Arnold
|
61654ab8f0
|
Fix all the trailing whitespace
|
2013-02-07 16:45:24 +01:00 |
Robin Ward
|
21b5628528
|
Initial release of Discourse
|
2013-02-05 14:16:51 -05:00 |