Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 0476c24

Browse files
author
Vincent Guidry
committed
changing div to DIV in generators
1 parent 0963d10 commit 0476c24

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/generators/hyper/templates/component_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<%=" "* @indet %>end
3333

3434
<%=" "* @indet %>def render
35-
<%=" "* @indet %> div do
35+
<%=" "* @indet %> DIV do
3636
<%=" "* @indet %> "<%= (@modules+[@file_name]).join('::') %>"
3737
<%=" "* @indet %> end
3838
<%=" "* @indet %>end

lib/generators/hyper/templates/router_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module Components
2929
<%=" "* @indet %>end
3030

3131
<%=" "* @indet %>def show # note that the top level router has a show method NOT render
32-
<%=" "* @indet %> div do
32+
<%=" "* @indet %> DIV do
3333
<%=" "* @indet %> # content to display on every route
3434
<%=" "* @indet %> # link generates an anchor tag.
3535
<%=" "* @indet %> link(to: :subroute3, params: {user_id: 12}, class: "link-class") { "Click to go to subroute3" }

0 commit comments

Comments
 (0)