Does anybody know a good way to separate out a controller item into a separate file? I have the following in of my controller.
def admin?
session[:password] == "password"
end
But I'd like to separate the "password" into a separate file so I can ignore it from a public git repo?
Is there an easy way to do this? Without storing this in a database?