Ruby on rails restful path not working (savage beast)

I did some modification to my installment of savage beast 2 but I am
getting the following error whenever I edit and create forum, topic,
or post

NoMethodError (undefined method controller_name' for nil:NilClass): /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:655:incallback’
action_controller/caching.rb:637:in `after’

after some investigation, for some reason the *_path are not returning
restful url.
for example,
now becomes

and i think this is why my edit and create doesn’t work anymore.

Do you have any idea why this is happening and how to fix it?
Thanks in advance!

nevermind…i screwed up something…