This method is here to overwrite the one in the general_controller mixin The method ensures that when a url is generated with a hash, it contains a controller
Source Code
# File merb/controller.rb, line 212 def get_controller_for_url_generation(options) controller = options[:controller] || params[:controller] controller = params[:controller] if controller == :current controller end
<code/>and<pre/>for code samples.