mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 19:34:25 +08: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.