<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>

<head>
	<title>Mockups</title>
</head>

<frameset cols="170,*" frameborder="1" border="1" bordercolor="#666666" framespacing="1">
    <frame src="/mockups_index" title="List" name="list" />
    <frame name="content" src="<%= mockup_path_from_session %>" />
</frameset>

</html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>

<head>
	<title>Mockups</title>
</head>

<frameset cols="170,*" frameborder="1" border="1" bordercolor="#666666" framespacing="1">
    <frame src="<%= mockups_index_path %>" title="List" name="list" />
    <frame name="content" src="<%= mockup_path_from_session %>" />
</frameset>

</html>

Use mockup_index_path instead of the raw string "/mockups_index' so the correct path to the view is determined using any subdomains and/or subdirectories of the parent rails app.
Use mockup_index_path instead of the raw string "/mockups_index' so the correct path to the view is determined using any subdomains and/or subdirectories of the parent rails app.
