Commit 3af3d44e by liyijie

Fix format bug

parent 27801754
...@@ -5,7 +5,9 @@ class <%= controller_class_name %>Controller < SimpleController::BaseController ...@@ -5,7 +5,9 @@ class <%= controller_class_name %>Controller < SimpleController::BaseController
instance_name: '<%= resource_singular %>', instance_name: '<%= resource_singular %>',
view_path: '<%= view_path %>' view_path: '<%= view_path %>'
) )
<% if auth.present? %>acts_as_auth_action :<%= auth.downcase %><% end -%> <% if auth.present? %>
acts_as_auth_action :<%= auth.downcase %>
<% end -%>
private private
def <%= resource_singular %>_params def <%= resource_singular %>_params
......
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