Thibault Jouan
aa2b43ab42
Update rails to 4.0:
...
* Add protected_attributes gem dependency;
* Remove deprecated usages of AR .find method;
2014-04-01 10:01:02 +00:00
Thibault Jouan
eda2f3fbee
Update factory girl to last version
2014-04-01 05:04:27 +00:00
Thibault Jouan
c1eaf98c02
Update for latest RABL version:
...
* Fix controller specs to also render RABL views where needed.
2014-04-01 04:52:09 +00:00
Thibault Jouan
40f4ced3b8
Add inflection for API acronym
2013-06-30 21:37:30 +00:00
Thibault Jouan
9b9e17e591
Implement track/index action for API
2012-05-03 21:11:03 +00:00
Thibault Jouan
9ccd1e10be
Allow Content-Length header to be received and sent in CORS requests
2012-05-03 21:03:11 +00:00
Thibault Jouan
df6d4991f8
Implement playlists/create action for API
2012-03-19 02:23:48 +00:00
Thibault Jouan
906851f50f
Add UserControllersHelpers to assign user in session
2012-03-19 01:20:31 +00:00
Thibault Jouan
10a8e1f094
Remove v0 version namespacing for API
2012-03-18 23:16:43 +00:00
Thibault Jouan
5dfafdcc46
Implement sessions/create in JSON API
2012-03-18 17:30:36 +00:00
Thibault Jouan
196ea16a94
Use RABL to build JSON responses given by API
2012-03-11 23:31:01 +00:00
Thibault Jouan
8681999d4c
Fix API playlists controller spec filename
2012-03-11 22:30:17 +00:00
Thibault Jouan
0177fd2c08
Simplify JSON.parse call in api playlists controller spec
2012-03-11 22:20:19 +00:00
Thibault Jouan
6379da88e2
Implement Cross-Origin Resource Sharing:
...
* Add Api::ApplicationController
* Route OPTION requests (CORS preflight) to API application controller
* Filter all API requests through #cor_filter in API application
controller
2012-03-11 22:19:42 +00:00
Thibault Jouan
88d3242843
Implements playlists/index action in JSON API
2012-02-26 11:33:43 +00:00