private Method

Partials.partial_pieces(partial_path)

There's no documentation for this item.

Source Code

# File action_view/partials.rb, line 162
def partial_pieces(partial_path)
  if partial_path.include?('/')
    return File.dirname(partial_path), File.basename(partial_path)
  else
    return controller.class.controller_path, partial_path
  end
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.