mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #6586 from amatsuda/generator_blank_line
remove unneeded blank line from !namespeced? generated controllers
This commit is contained in:
commit
7013f73c3b
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