# مواصفات وحدة تحكم الإضافة: لم يتم رسم مسارات الإضافة

**URL:** <https://meta.discourse.org/t/plugin-controller-spec-plugin-routes-are-not-drawn/108606>\
**Category:** Development\
**Created:** [7 فبراير 2019، 3:35م UTC](https://meta.discourse.org/t/plugin-controller-spec-plugin-routes-are-not-drawn/108606 "2019-02-07T15:35:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kleinfreund](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@kleinfreund](https://meta.discourse.org/u/kleinfreund)\
**Post date:** [8 فبراير 2019، 9:36ص UTC](https://meta.discourse.org/t/plugin-controller-spec-plugin-routes-are-not-drawn/108606/3 "2019-02-08T09:36:45Z")

</div>

I have my plugin’s routes set up like this:

```ruby
Discourse::Application.routes.append do
  get '/plugin_routes' => 'plugin/routes#index', constraints: AdminConstraint.new
  put '/plugin_routes/:route_id' => 'plugin/routes#update', constraints: AdminConstraint.new
  delete '/plugin_routes/:route_id' => 'plugin/routes#destroy', constraints: AdminConstraint.new
end

```

I’m not using an engine. Does that matter?

---

_[View the full topic](https://meta.discourse.org/t/plugin-controller-spec-plugin-routes-are-not-drawn/108606)._
