Skip to content
This repository
Browse code

Fix examples with no namespace given

  • Loading branch information...
commit c89f3fb487c6a599d7a0aac31bb002e403491c0f 1 parent ff6aec1
Pirogov Evgenij authored May 12, 2011

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  README.textile
8  README.textile
Source Rendered
@@ -527,8 +527,8 @@ h3. Specifying HAML instead of ERB with @--haml@
527 527
 
528 528
 <pre>
529 529
   $ rails generate formtastic:form Post --haml
530  
-      exists  app/views/admin/posts
531  
-      create  app/views/admin/posts/_form.html.haml
  530
+      exists  app/views/posts
  531
+      create  app/views/posts/_form.html.haml
532 532
 </pre>
533 533
 
534 534
 h3. Specifying controller namespace with @--controller@
@@ -543,8 +543,8 @@ h3. Specifying which attributes need an input
543 543
 
544 544
 <pre>
545 545
   $ rails generate formtastic:form Post title:string body:text publication_state:select
546  
-      exists  app/views/admin/posts
547  
-      create  app/views/admin/posts/_form.html.erb
  546
+      exists  app/views/posts
  547
+      create  app/views/posts/_form.html.erb
548 548
 </pre>
549 549
 
550 550
 

0 notes on commit c89f3fb

Please sign in to comment.
Something went wrong with that request. Please try again.