Merge pull request #4858 from lookageek/patch-1

Fix in rdoc of DeviseController#_prefixes
This commit is contained in:
Vasiliy Ermolovich
2018-05-03 13:12:38 +03:00
committed by GitHub

View File

@@ -22,7 +22,7 @@ class DeviseController < Devise.parent_controller.constantize
# Action Controller tests that forces _prefixes to be
# loaded before even having a request object.
#
# This method should be public as it is is in ActionPack
# This method should be public as it is in ActionPack
# itself. Changing its visibility may break other gems.
def _prefixes #:nodoc:
@_prefixes ||= if self.class.scoped_views? && request && devise_mapping