draper/spec/dummy/app/controllers
Bartek Bułat af7f3a6736 Fix failing specs re Rails 5.1 (#800)
* Fix failing specs re Rails 5.1

Because there is no hard constraint on Rails version, tests run against
the newest version available. Rails 5.1 removes `to_h` from unpermitted
parameters class. Using `empty?` is sufficient replacement.

* Fix Dummy app `posts#mail` action rendering

Rails 5.1 does not accept `:text` key for `render`.
2017-05-05 10:28:28 -05:00
..
base_controller.rb Add support for custom default controller configuration (#788) 2017-03-31 09:05:15 -05:00
localized_urls.rb Rails 3.0 compatibility 2013-01-12 16:34:55 +00:00
posts_controller.rb Fix failing specs re Rails 5.1 (#800) 2017-05-05 10:28:28 -05:00