mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove unneeded blank line from !namespeced? controller generators
This commit is contained in:
parent
070454c6f7
commit
ec106e9d43
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<% if namespaced? -%>
|
||||
require_dependency "<%= namespaced_file_path %>/application_controller"
|
||||
<% end -%>
|
||||
|
||||
<% end -%>
|
||||
<% module_namespacing do -%>
|
||||
class <%= class_name %>Controller < ApplicationController
|
||||
<% actions.each do |action| -%>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<% if namespaced? -%>
|
||||
require_dependency "<%= namespaced_file_path %>/application_controller"
|
||||
<% end -%>
|
||||
|
||||
<% end -%>
|
||||
<% module_namespacing do -%>
|
||||
class <%= controller_class_name %>Controller < ApplicationController
|
||||
# GET <%= route_url %>
|
||||
|
|
Loading…
Reference in a new issue