```ruby
module Cms
  module Components
    class MenuLink
      include ActiveModel::Model
      attr_accessor :name, :path, :sublinks

      def sublinks?
        sublinks.present?
      end

      def add_active_class(view)
        'is-active' if view.request.url.match(path)
      end

      def link_class
        'nav-primary__text'
      end
    end
  end
end

```

Remove extra line from menu link cms component
user
```ruby
module Cms
  module Components
    class MenuLink
      include ActiveModel::Model
      attr_accessor :name, :path, :sublinks

      def sublinks?
        sublinks.present?
      end

      def add_active_class(view)
        'is-active' if view.request.url.match(path)
      end

      def link_class
        'nav-primary__text'
      end
    end
  end
end
```
assistant