public Method

ControllerSegment.interpolation_chunk(value_code = "

Don’t URI.escape the controller name since it may contain slashes.

Source Code

# File action_controller/routing/segments.rb, line 213
def interpolation_chunk(value_code = "#{local_name}")
  "\#{#{value_code}.to_s}"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.