mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
Adding a scope from a plugin was broken. This commit fixes it and adds a test. It also documents the instance method and renames the serialized "id" attribute to "scope_id" to avoid a conflict when the scope also has a parameter with the same name.