working cache

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-07-13 15:36:10 +08:00
1 parent 0e65e379b0
commit 4daf36908c
14 files changed
+41 -8

No files matched your search

@@ -1,3 +1,5 @@
<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do %>
<%= render :partial => "shared/privilege_user",:collection =>@sys_users,:as=>:user ,:locals =>{ :chosen_users=> @users_array } %>
<% cache ["users_checkbox_ary"] do%>
<%= render :partial => "shared/privilege_user",:collection =>@sys_users,:as=>:user ,:locals =>{ :chosen_users=> @users_array } %>
<%end -%>
<%end -%>