Commit dc2f4014 by ivan Lan

User class itself instead of class_name as the attr of mehod Shotengai::Controller::Base.resources=

parent 4df7dc12
class <%= @controller_prefix %><%= @klass_name.pluralize %>Controller < Shotengai::Controller::<%= "#{@role}/#{@key}".camelize %>Controller
self.resources = '<%= @klass_name %>'
self.resources = <%= @klass_name %>
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment