ruby on rails 3 - Redmine How to display application menu under specific top menu? -
i working on leave management system plugin want show application menu under lms menu.... here past init file code
menu :top_menu, :leave_transactions, { :controller => 'dashboard', :action => 'index' }, :caption => 'lms' , :if => proc.new { user.current.logged? } menu :application_menu, :dashboard, { :controller => 'dashboard', :action => 'index' }, :caption => 'dashboard' , :if => proc.new { user.current.logged? } menu :application_menu, :leave_transactions, { :controller => 'leave_transactions', :action => 'index' }, :caption => 'apply leave' , :if => proc.new { user.current.logged? } menu :application_menu, :holiday_informations, { :controller => 'holiday_informations', :action => 'index' }, :caption => 'holiday' , :if => proc.new { user.current.logged? }
its working me application menu display on menu. want avoid , when click on lms menu time application menu display..please me
Comments
Post a Comment