Method: Engine2::ActionMenuSupport#post_process
- Defined in:
- lib/engine2/action.rb
#post_process ⇒ Object
298 299 300 301 302 303 304 305 306 |
# File 'lib/engine2/action.rb', line 298 def post_process super if @menus && !@menus.empty? @meta[:menus] = {} @menus.each_pair do |name, | @meta[:menus][name] = {entries: .to_a, properties: .properties} end end end |