1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/controllers/api
Eugen Rochko fce8464077
Ensure that boolean params in the API are parsed for truthiness (#6575)
Use Rails smart boolean cast to account for values such as "f",
"0", "false", etc. Previously, if a param was present in the request,
it would count as true.
2018-03-01 02:47:59 +01:00
..
v1 Ensure that boolean params in the API are parsed for truthiness (#6575) 2018-03-01 02:47:59 +01:00
web
base_controller.rb Ensure that boolean params in the API are parsed for truthiness (#6575) 2018-03-01 02:47:59 +01:00
oembed_controller.rb
push_controller.rb
salmon_controller.rb
subscriptions_controller.rb