X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3d7cfd7ff90879511ff1c8b54a5d280e2e15057..15904542a6694248c08cbcb06739e4788bf59f2a:/CONFIGURE.md?ds=sidebyside diff --git a/CONFIGURE.md b/CONFIGURE.md index 7feae6a1e..8cae440bd 100644 --- a/CONFIGURE.md +++ b/CONFIGURE.md @@ -31,9 +31,9 @@ To give administrator or moderator permissions: $ bundle exec rails console >> user = User.find_by_display_name("My New User Name") => #[ ... ] ->> user.roles.create( {:role => "administrator", :granter_id => user.id}, :without_protection => true) +>> user.roles.create(:role => "administrator", :granter_id => user.id) => #[ ... ] ->> user.roles.create( {:role => "moderator", :granter_id => user.id}, :without_protection => true) +>> user.roles.create(:role => "moderator", :granter_id => user.id) => #[ ... ] >> user.save! => true