Skip to content

Commit

Permalink
Fixed readme for layout nil option, now is layout false
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfonso Uceda committed Jul 8, 2015
1 parent 43dc966 commit d874ee6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ module Articles

class RssIndex < Index
format :rss
layout nil
layout false
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/lotus/view/rendering/null_layout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module Rendering
# module Articles
# class Show
# include Lotus::View
# layout nil
# layout false
# end
# end
#
Expand Down
8 changes: 4 additions & 4 deletions test/fixtures.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class AppView
end

class AppViewLayout < AppView
layout nil
layout false
end

class AppViewRoot < AppView
Expand Down Expand Up @@ -111,12 +111,12 @@ def title

class RssIndex < Index
format :rss
layout nil
layout false
end

class AtomIndex < RssIndex
format :atom
layout nil
layout false
end

class New
Expand Down Expand Up @@ -294,7 +294,7 @@ class Index

class JsonIndex < Index
format :json
layout nil
layout false
end

class RssIndex < Index
Expand Down

0 comments on commit d874ee6

Please sign in to comment.