Module: ViewMapper::RouteAction::Destroy
- Defined in:
- lib/view_mapper/route_action.rb
Instance Method Summary collapse
Instance Method Details
#route(route_options) ⇒ Object
24 25 26 27 28 |
# File 'lib/view_mapper/route_action.rb', line 24 def route() logger.remove_route route_code() to_remove = "\n #{route_code(route_options)}" gsub_file route_file, /(#{to_remove})/mi, '' end |