Class: RailsVueGenerator::Handlers::NavigationHandler
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- RailsVueGenerator::Handlers::NavigationHandler
- Defined in:
- lib/rails_vue_generator/handlers/navigation_handler.rb
Constant Summary
Constants inherited from BaseHandler
Instance Method Summary collapse
Methods inherited from BaseHandler
Constructor Details
This class inherits a constructor from RailsVueGenerator::Handlers::BaseHandler
Instance Method Details
#generate ⇒ Object
4 5 6 |
# File 'lib/rails_vue_generator/handlers/navigation_handler.rb', line 4 def generate "<router-link :to=\"{name: '#{model_name.pluralize}'}\">#{model_name.titleize}</router-link> | " end |