Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Documentation glitch on viewmodel parameter format
  • I've been pounding my head against the naming protocol and I find that the docs mislead me.
    In this page: ...docs/general/viewmodels.html I read this:
    ...
    And last we'll call the ViewModel from the controller: ViewModel::forge('Index');
    ...
    Note the capitalized name on the view, 'Index', named in the call to ViewModel::forge()
    I had to remove that capitalization, 'index', to get it to work.
    FYI
  • Thanks for reporting this, I'll correct it.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion