This comes from Rapidfire and Devise . I installed Devise in my application, and I can log in, but then I installed rapidfireGem, and I can still log in with it, but when I get to localhost::3000/rapidfire, I get a message that the development paths are not recognized. Can anyone help?
For application_controllerI have not included the function current_userthat they say here, and set the function can_administerto return true, for example
def can_administer?
true
end
rake Routes show it below
Verb Prefix
new_user_session Get /users/sign_in
user_session
destroy_user_session
user_password
new_user_password
edit_user_password
cancel_user_registration
user_registration
new_user_registration
edit_user_registration
user_confirmation
new_user_confirmation
rapidfire
root Get /
Routes Rapidfire::Engine:
results_question_group
question_grou_quetions...
micc0 source
share