Search code examples
ruby-on-railsrubysinatrapadrino

Access Padrino settings from controller


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!


Solution

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