Hi
I want to make my rails controller more flexible and try to create some Meta foo for it.
I have a problem with the redirect_to method. Can I convert the "edit_admin_post_path()" method from a string or better read out the controller name and pass it dynamicly?
this is my code for "post" in my Admin::Posts controller.
respond_to do |format|
format.html { redirect_to(edit_admin_post_path(@object)) }
end
thanks!