Rails config use input field to change?
- by Danny McClelland
Hi Everyone,
Following on from a previous question:
I have created a config.yml file which is used to generate the content for the following:
<%= configatron.site_name %
So now, anywhere I have the above code snippet, will display the following:
development: &local
site_name: Survey Manager
site_url: localhost:3000
What I am trying to work out, is how do I have a text field somewhere in the application that will edit the site_name?
Thanks,
Danny