Displaying 2 results from an estimated 2 matches for "subscriptionscontroller".
Did you mean:
subscription_controller
2006 Mar 16
0
ActionController::Verification problem
...' action in subscriptions
controller to create new subscription. Also, I have a ''thankyou'' view,
which I want to display only if user is just subscribed. So I want to
block access to http://localhost/subscriptions/thankyou action with a
verify filter. Here is my code:
class SubscriptionsController < ApplicationController
verify :only => :thankyou,
:flash => :subscription,
:redirect_to => :index
def index
# new
# render :action => ''new''
end
def thankyou
end
end
I get
SystemStackError in Subscriptions#thankyou
stack le...
2006 Mar 17
0
ActionController::Verification problem (sorry if it is double post, I''m not sure about the first one)
...;' action in subscriptions
controller to create new subscription. Also, I have a ''thankyou'' view,
which I want to display only if user is just subscribed. So I want to
block access to http://localhost/subscriptions/thankyou action with a
verify filter. Here is my code:
class SubscriptionsController < ApplicationController
verify :only => :thankyou,
:flash => :subscription,
:redirect_to => :index
def index
# new
# render :action => ''new''
end
def thankyou
end
end
I get
SystemStackError in Subscriptions#thankyou
stack leve...