Displaying 1 result from an estimated 1 matches for "entries_url".
Did you mean:
entries_nr
2010 Mar 15
3
Before_filters on re-rendered methods - what is the correct RAILS way?
...return
elsif params["back"]
# Called from the confirmation page where there will
# be a button with name "back" to correct user''s entries
new
render :action => :new
return
end
# ==create
# entries_url (POST /entries)
def create
# This action should only be run if the user is logged in!
# But because of the re-rendering from confirm action,
# the before_filter that checks whether user is logged in or
# not does not seem to get run.
#
# @entry.save et...