Allow My Page blocks to be added to from a plugin (#2840).

Partials must be placed under the app/views/my/blocks directory of the plugin.
An example can be found in the sample plugin.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2529 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-02-26 16:36:56 +00:00
parent 5b96d1b083
commit d40bf20131
3 changed files with 39 additions and 4 deletions

View File

@@ -0,0 +1,3 @@
<h3>Sample block</h3>
You are <strong><%= h(User.current) %></strong> and this is a sample block for My Page added from a plugin.