1 Reply Latest reply on Dec 5, 2013 4:11 AM by Mark Nongkhlaw

    How to pass parameters to Controller action menu?

    Mark Nongkhlaw

      I want to pass a parameter to a Controller action menu.


      I tried the following code snippet which does not work :


      @menu = {"Go Back" => "/app/Project/lsearch_process, :query => {:query => $pquery}",

          "Go Home" => :home



      What I wanted was to pass the value of $pquery to the Project Controller action lsearch_process when the user taps "Go Back" on the controller action menu.


      Please help.