mirror of
https://github.com/discourse/discourse.git
synced 2025-03-16 11:55:36 +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.