Browse files

Correct instructions for deleting a file in Windows

  • Loading branch information...
myabc committed Apr 19, 2012
1 parent 135745e commit f42669d53e60866ac86d4ef256fd9b7645a50925
Showing with 5 additions and 1 deletion.
  1. +5 −1 _posts/2012-04-18-app.markdown
@@ -178,10 +178,14 @@ to
If you try to open [http://localhost:3000](http://localhost:3000) it still shows the default page. Let’s make it redirect to the ideas page.
-Run in the Terminal/Command Prompt:
+On OS X and Linux, in the Terminal run:
<pre><code><span class="ps1">$</span> rm public/index.html</code></pre>
+In Windows, in the Command Prompt run:
+<pre><code><span class="ps1"></span> del public\index.html</code></pre>
Then open config/routes.rb and add to the second line of the file
<pre><code>root :to =&gt; redirect(&quot;/ideas&quot;)</code></pre>

0 comments on commit f42669d

Please sign in to comment.