mastodon/app
Matt Jankowski 8e4fc5d5d2 Improve how params from controller are permitted in filter helper (#3129)
The `params` variable here was quite overloaded.

It exists via the controller to hold the request params, and was sometimes being
used in this helper as that object, but other times was being used as a local
variable, or to pass to another method, and this was confusing.

This change renames the args for a method away from `params` for more clarity,
and extracts the actual usage of the controller-provided `params` to a
better-named method for clarity.
2017-05-19 11:43:20 +02:00
..
assets/stylesheets
controllers Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
helpers Improve how params from controller are permitted in filter helper (#3129) 2017-05-19 11:43:20 +02:00
javascript Replace inline styles with stylesheet (#3115) 2017-05-19 11:42:54 +02:00
lib Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
mailers
models Define instance method outside #included (#3128) 2017-05-19 11:41:45 +02:00
presenters
services
validators
views Use stylesheet_pack_tag in embedded layout, avoids pipeline deprecation warning (#3123) 2017-05-19 03:11:17 +02:00
workers