summaryrefslogtreecommitdiff
path: root/app/controllers/api/sessions_controller.rb
AgeCommit message (Collapse)Author
2017-04-20fix: set token in forms correctlyAzul
We now use the hash of the token for comparison and as the id. In order to use it you need the original token though. So forms and thus the session should have token.to_s rather than token.id.
2016-08-19respond_to on a per controller basisAzul
If you inherit respond to and call it again in your controller it will not overwrite the previous but add to it. Since we always have some exceptions from the rules it's probably easiest to be explicit in the controllers that require it themselves.
2016-05-18api: allow version bumping - bump to 2Azul