Conversation
|
Hi, sorry but I don't understand the benefit of this pull request. |
|
If you set default responder in controller to ActsAsApi::Responder you cannot use respond_with with hash like in ActionController::Responder. With this feature I can send non-resourceful data as simple hash. Of course without this patch I can basically execute in other way respond_with [:simple => :hash]Usecase def where_i_should_redirect
respond_with :redirect_to => some_dynamic_url
end |
|
Hey, I think providing a method As I said before, there is no need to use Btw: Maybe you're interested in this wiki article, it explains how to use |
You can use respond_with with Hash