diff options
-rw-r--r-- | templates/macros.erb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/macros.erb b/templates/macros.erb index 065988c..4c25d1f 100644 --- a/templates/macros.erb +++ b/templates/macros.erb @@ -83,3 +83,12 @@ </Directory> # end ikiwiki config </Macro> + +<Macro Rails $name> + # begin rails config + <Directory <%= apache_sites_folder %>/$name/site> + Options -MultiViews + AllowOverride All + </Directory> + # end rails config +</Macro> |