lib/rapidoc/config.rb in rapidoc-0.0.4 vs lib/rapidoc/config.rb in rapidoc-0.0.5

- old
+ new

@@ -30,9 +30,13 @@ end form_file_name controller_dir, f end + def controllers_extension + ( @@config and @@config['controllers_route'] ) ? '.yml' : '.rb' + end + def config_file_path config_dir 'rapidoc.yml' end def rapidoc_config