Closed diggabyte closed 10 years ago
I had opened https://github.com/jcasimir/locale_setter/pull/11 for this issue, but closed it after I saw the tests were failing and could not get them running locally.
Steps to reproduce: Implement app controller with any other name (or space) EXCEPT 'ApplicationController'
Outcome: locale_setter-0.4.0/lib/locale_setter/railtie.rb:9:in block in <class:Railtie>: uninitialized constant LocaleSetter::Railtie::ApplicationController (NameError)
locale_setter-0.4.0/lib/locale_setter/railtie.rb:9:in block in <class:Railtie>: uninitialized constant LocaleSetter::Railtie::ApplicationController (NameError)
Expected: runs smoothly. Calling ActionController::Base would be more appropriate and not break apps that have custom app controller name(spaces)
ActionController::Base
Closing this. i will get the tests working and submit a proper pull request.
I had opened https://github.com/jcasimir/locale_setter/pull/11 for this issue, but closed it after I saw the tests were failing and could not get them running locally.
Steps to reproduce: Implement app controller with any other name (or space) EXCEPT 'ApplicationController'
Outcome:
locale_setter-0.4.0/lib/locale_setter/railtie.rb:9:in block in <class:Railtie>: uninitialized constant LocaleSetter::Railtie::ApplicationController (NameError)
Expected: runs smoothly. Calling
ActionController::Base
would be more appropriate and not break apps that have custom app controller name(spaces)