razum2um / lurker

📖 The ultimate tool for documenting and testing APIs in Rails
https://lurker.razum2um.me/lurker
MIT License
116 stars 22 forks source link

Use prepend_view to add custom path to templates pathes. Remove obsol… #120

Closed antoshalee closed 8 years ago

antoshalee commented 8 years ago

…e html_option 'template_directory'

It seems that previous realisation doesn't work at all. It uses reading of options hash on the class level (self.templated_root) which returns empty hash.

I fixed this for extending pathes to templates. But there is also same problem with redefining of assets path (option -a) because I'm not sure how it supposed to work.