• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Problem in bagisto_assets function!!

General Discussion
2
2
523
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    hChamran last edited by 1 Sept 2019, 11:05

    Hi,
    I have a problem when I want to create a new page but bagisto_assets function dose not working??

    f8a390c9-9ee4-4965-9781-1d9bac866587-image.png
    In this picture, the red area must be like:

    190d9191-7aa3-4c9f-9012-782d67737fdf-image.png

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by rahul 5 Sept 2019, 07:57 5 Sept 2019, 07:56

      Hi @hChamran

      Your new page's route must pass through theme middleware to use bagisto_assets function.

      Route::group(['middleware' => ['xxx', 'xxx', 'theme', 'xxx']], function () {
         
          Route::get('/routename', 'controller-path@method')->defaults('_config', [
              'view' => 'view file path'
          ])->name('route-name');
      
      });
      

      Thanks

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post