Access Padrino settings from controller

49 views Asked by At

I am trying to get values from Padrino.configure_apps block in config/apps.rb, but Sinatra way not working here. Anyone know the Padrino way to access the settings from controller ? Thankx in advance!

1

There are 1 answers

0
Yaniv Vova Alterman On BEST ANSWER

Ok, so i've defined all in ./app/app.rb file and it can be accessed via settings.xxx format.