lib/generators/jinda/templates/app/views/admins/edit_role/edit_role.html.erb in jinda-0.3.2 vs lib/generators/jinda/templates/app/views/admins/edit_role/edit_role.html.erb in jinda-0.3.3
- old
+ new
@@ -1,6 +1,6 @@
<%
- user = User.find_by :code=> $xvars["select_user"]["code"]
+ user = Jinda::User.find_by :code=> $xvars["select_user"]["code"]
%>
Role codes seperated by comma
<p>
<%= label_tag :role, "Role" %>
<%= text_field_tag :role, user.role %>