added translations to spanish
Extract queries to keep logic in the Categories Model

This creates two methods in the Category model. This moves the model
logic to the model and just calls the Category class methods in
ListController.

This also adds tests for the two methods created in the Category
model. The motivation for this refactor is the code climate score of the
this class and readability of the code.

 Please enter the commit message for your changes. Lines starting
Update client.es.yml
Use GlobalSetting to enable CORS at application level
now that wbr tags are inputted, breaking usernames a bit more natually
FIX: restore category when opening draft
Merge remote-tracking branch 'upstream/master'
fixing restricted badge padding
fixing restricted badge padding in the dropdown menu
BUGFIX: make sure we bind the uploader only once
Missing semicolon;
FIX: Was not resuming scroll position on back button
Merge pull request #1929 from verg/fix_category_in_drafts

FIX: restore category when opening draft
Merge pull request #1926 from awesomerobot/master

now that wbr tags are inputted, breaking usernames a bit more natually
Merge pull request #1925 from slainer68/cors_config

Use GlobalSetting to enable CORS at application level
Merge pull request #1920 from nickborromeo/list-controller

Extract queries to keep logic in the Categories Model
Merge pull request #1918 from fabricioflores/master

added translations to spanish
fixing the weird user space column bug on smaller browser widths
Merge pull request #1934 from awesomerobot/master

fixing the user column width bug on smaller browser widths
BUGIX: no draft key when creating a topic from the /top page