ruby on rails - What are the data.* references in {wrap}bootstrap themes? -


i purchased {wrap}bootstrap theme. in process of moving assets rails 2.3.x app (don't laugh), notice there many places in views , helpers data object accessed. instance:

  def active(id)     if data.page.menukey == id         return 'active'     end      return ''   end 

where data object defined? clumsy placeholder people implementing theme replace own objects?

the data object see in {wrap}bootstrap themes comes middleman "local data". middleman not required implement {wrap}bootstrap theme. may wish search , replace every instance of data meaningful application.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -