Skip to content

Commit 4b1740d

Browse files
committed
Fixed issue where dashboard was rendering a sidebar. Bumped version.
1 parent 51b06d2 commit 4b1740d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.rdoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
== 0.2.1 (2011-05-12)
2+
3+
* Bug Fixes
4+
* Fixed issue with dashboard rendering a sidebar
5+
16
== 0.2.0 (2011-05-12)
27

38
0.2.0 is essentially an entire re-write of Active Admin. Here are some

lib/active_admin/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module ActiveAdmin
2-
VERSION = '0.2.0'
2+
VERSION = '0.2.1'
33
end

lib/active_admin/views/pages/base.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def build_action_items
7171
end
7272

7373
def build_page_content
74-
# TODO: Skip sidebar
75-
div :id => "content", :class => "with_sidebar" do
74+
div :id => "content", :class => (skip_sidebar? ? "without_sidebar" : "with_sidebar") do
7675
build_flash_messages
7776
build_main_content_wrapper
7877
build_sidebar

0 commit comments

Comments
 (0)