aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/api.rb
Commit message (Collapse)AuthorAgeFilesLines
* applies new string literal convention in actionpack/libXavier Noria2016-08-061-3/+3
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* quick edits on the AC::API RDoc [ci skip]Xavier Noria2016-04-051-19/+20
| | | | | | | | | | | In particular, the fact that ApplicationController is the only one inheriting from AC::API is not a default. You could say at most that generators generate them that way, but the creation of controllers is something which is out of our control because programmers write controllers by hand. Instead, we can say that normally, conventionally, as in the majority of Rails apps, that is the actually the case.
* Re-add ActionController::ApiRenderingJon Moss2016-01-201-1/+1
| | | | | - Fixes bug #23142. - Bug was occurring only with ActionController::API, because `_process_options` wasn't being run for API requests, even though it was being run for normal app requests.
* remove RackDelegation moduleAaron Patterson2015-08-261-1/+0
| | | | | | Since all controller instances are required to have a request and response object, RackDelegation is no longer needed (we always have to delegate to the response)
* docs, custom api base controllers shoudl subclass metal. [ci skip]Yves Senn2015-08-011-1/+1
| | | | This is a follow up to #21008.
* A few documentation edits [ci skip]Robin Dupret2015-06-151-9/+11
|
* Mention that doing nothing in Rails API controllers returns 204Santiago Pastorino2015-06-111-1/+1
|
* Return 204 if render is not called in API controllersJorge Bejar2015-06-111-0/+1
|
* Include ParamsWrapper in AC::APIJorge Bejar2015-06-111-1/+5
| | | | | | | | | ParamsWrapper was initially removed from API controllers according to the following discusision: https://github.com/rails-api/rails-api/issues/33 However, we're including it again so Rails API devs can decide whether to enable or disable it.
* Fix MimeResponds example in AC::API documentationSantiago Pastorino2015-06-111-3/+5
|
* Do not say that Api Controllers are faster than regular ones in docsJorge Bejar2015-06-111-4/+4
|
* Remove Compatibility module since we don't remember why it was added :smile:Jorge Bejar2015-06-111-19/+0
|
* Remove api_rendering is not neededSantiago Pastorino2015-06-111-1/+1
|
* Add ActionController API functionalitySantiago Pastorino2015-06-111-0/+157