Smashing / smashing

The exceptionally handsome dashboard framework in Ruby and Coffeescript.
https://smashing.github.io/
MIT License
3.22k stars 324 forks source link

Configuration file #191

Open yohanleb opened 2 years ago

yohanleb commented 2 years ago

Hello,

I was wondering if there is a way to have a configuration file with some values and access it in the dashboard.erb file ? Some of my data in the dashboard depends on the environment that I want to configure.

Best regards

kinow commented 2 years ago

Good suggestion @yohanleb . There's no official way yet. In the past I used YAML for that. If you have any suggestion and would like to elaborate or write a pull request feel free to send it over :)