change view and action for announcement ,Lin checked. Also add validation for object_auth make sure for each object,the object will be unique for each action.
This commit is contained in:
1 parent
8932615f05
commit
cceb785a8d
16 files changed
+58
-55
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<div id="open_for_all_user">
|
||||
<h1>All User</h1>
|
||||
<%= form_tag(submit_url) do %>
|
||||
<%= check_box_tag 'auth_all',true,auth.all %><%= submit_tag 'Add Role' %><br/>
|
||||
<%= check_box_tag 'auth_all',true,(auth.all rescue true) %><%= submit_tag 'Add Role' %><br/>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user