Skip to content

Commit 91b33ac

Browse files
committed
Update README.rdoc
1 parent 198d38a commit 91b33ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Moving sidebar to the left within all resource (config/initializers/active_admin
3434
# Active Admin resources from here.
3535
#
3636
config.before_filter do
37-
left_sidebar!
37+
left_sidebar! if respond_to?(:left_sidebar)
3838
end
3939

4040
Disabling using sidebar layout on dashboards (if you setup sidebar position with initializer)

0 commit comments

Comments
 (0)