Closed n1shantshrivastava closed 8 years ago
Your code does not define Koudoku::SubscriptionsController
- it defines YoApp::SubscriptionsController
.
try
module Koudoku
class SubscriptionsController < ApplicationController
end
end
Wao, thanks! @yas4891
But then it gives me this error
super: no superclass method `edit' for #Koudoku::SubscriptionsController:0x007fa5713c0aa0
I got it resolved, by implementing all the methods in call-back (before_filter).
Now to over-ride the freak thing!
Thanks again @yas4891 for quick reply.
You're welcome. Have fun with Koudoku
Hi, I am pretty new with this, and I am facing problem when I am trying to override the methods of SubscriptionController. I have placed my new SubscriptionsController class in
and the class looks like, below;
class SubscriptionsController
def edit
--- my logic ---
end
def update
--- my logic ---
end
def cancel
--- my logic ---
end
end
But when I try to load the application, I get this error;
Can anyone please help me with this.