We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have removed :time => 3000 from controller flash messages and now I have this but for some reason I am getting below error:
sessions_controller.rb
class SessionsController < ApplicationController def create ... redirect_to profile_path, :gflash => { :success => true, :locals => { :name => current_user.name } } ... end def destroy ... redirect_to root_url, :gflash => { :success => true } end ... end
index.html.erb
<%= gflash %>
NoMethodError in Home#profile undefined method `gsub' for 3000:Fixnum
I have restarted the server many times. Everything worked fine before adding :time and removing it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have removed :time => 3000 from controller flash messages and now I have this but for some reason I am getting below error:
sessions_controller.rb
index.html.erb
I have restarted the server many times.
Everything worked fine before adding :time and removing it.
The text was updated successfully, but these errors were encountered: