xtremelabs / xl-passbook-ruby

Apache License 2.0
16 stars 10 forks source link

reload templates in development mode #1

Closed xtreme-andrei-dinin closed 12 years ago

xtreme-andrei-dinin commented 12 years ago

Right now, the templates get loaded once at the startup (in the initializer) That makes sense for a production environment, but is annoying for development, where you are constantly changing the template. Load the template every time in development and only once in staging and production.