I am using Mobylette with Devise on my Rails 4 app.
When I try to sign up, sign in, or reset my password on my mobile device I get this error:
ActionController::MissingRenderer (No renderer defined for format: mobile)
Has anyone else had this issue?
I've tried setting up a fallback chain
mobylette_config do |config|
config[:fallback_chains] = {
mobile: [:mobile, :html]
}
end
and adding this to the devise initializer
config.navigational_formats = ['*/*', :html, :mobile]
But continue to get the renderer error.
Any recommendations would be awesome, still new to mobile formatting.
Solved the issue with the following..
created an initializer and added this:
along with Preshant4020's suggestion
in the devise initialize and got it to work with no issues.