I know this is probably something simple that I'm missing. I am trying
to call a function that is in a module in /lib, but the controller
doesnt seem to be finding it.
and in a controller:
class StartupController < ApplicationController
@sitemsg="The site is now open"
@sitemsg="Site is closed."
This will give me the following error:
NoMethodError in StartupController#index
undefined method `is_site_open' for #<StartupController:0x1045b2ea8>
I'm sure it's something dumb I'm doing.