9 lines
180 B
Ruby
9 lines
180 B
Ruby
|
module Locomotive
|
||
|
class MainMenuCell < MenuCell
|
||
|
|
||
|
update_for :foo do |new_menu|
|
||
|
new_menu.add_before :settings, :foo, :url => new_menu.main_app.foo_url
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|