mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 05:23:43 +08:00
872995db57
introduce NullUser to avoid type-checking DRY up code reduce number of multiple returns remove some redundant/impossible logic branches add pending test for possible bug add test & fix for ability to flag archived posts add #secure_category? method to topic class Fix bug that prevented flagging of archived topics Rename NullUser to AnonymousUser DRY up can_<action>? methods Fix some ownership logic, and a test, for Guardian |
||
---|---|---|
.. | ||
components | ||
controllers | ||
fabricators | ||
fixtures | ||
integration | ||
integrity | ||
javascripts | ||
mailers | ||
models | ||
phantom_js | ||
requests | ||
support | ||
views/omniauth_callbacks | ||
spec_helper.rb |