Skip to content

Commit c7f0559

Browse files
committed
Update README.rdoc
1 parent ff9ed1a commit c7f0559

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.rdoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ Moving sidebar to the left within all resource (config/initializers/active_admin
3333
# You can add before, after and around filters to all of your
3434
# Active Admin resources from here.
3535
#
36-
config.before_filter :left_sidebar! if respond_to?(:left_sidebar!)
36+
config.before_filter do
37+
left_sidebar! if respond_to?(:left_sidebar!)
38+
end
3739

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

0 commit comments

Comments
 (0)