diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-07-16 03:11:35 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-07-16 03:11:35 +0000 |
commit | 5e259d41e2c1bccd3ffe7de7267ff8015c0df54f (patch) | |
tree | 568e789a779509dc100f52d5ea398f96ed2e13f7 /lib/redmine/plugin.rb | |
parent | cd54efa0c937e18fa163d2d40d43e45f25050400 (diff) | |
download | redmine-5e259d41e2c1bccd3ffe7de7267ff8015c0df54f.tar.gz redmine-5e259d41e2c1bccd3ffe7de7267ff8015c0df54f.zip |
Fix typos in the examples. #5823
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3841 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/plugin.rb')
-rw-r--r-- | lib/redmine/plugin.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index 2be8ac8aa..11255e02d 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -202,10 +202,10 @@ module Redmine #:nodoc: # permission :say_hello, { :example => :say_hello } # # # A permission that can be given to registered users only - # permission :say_hello, { :example => :say_hello }, :require => loggedin + # permission :say_hello, { :example => :say_hello }, :require => :loggedin # # # A permission that can be given to project members only - # permission :say_hello, { :example => :say_hello }, :require => member + # permission :say_hello, { :example => :say_hello }, :require => :member def permission(name, actions, options = {}) if @project_module Redmine::AccessControl.map {|map| map.project_module(@project_module) {|map|map.permission(name, actions, options)}} |