File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 38
38
end
39
39
end
40
40
41
- sidebar "Demo: Check out the Code! " do
42
- link_to "app /admin/orders.rb" , "https://github.com/gregbell/activeadmin-store/blob/demo/app/admin/ orders.rb"
41
+ sidebar "Active Admin Demo " do
42
+ render ( ' /admin/sidebar_links' , :model => ' orders' )
43
43
end
44
44
end
Original file line number Diff line number Diff line change 35
35
end . join ( content_tag ( "br" ) ) . html_safe
36
36
end
37
37
38
- sidebar "Demo: Check out the Code! " do
39
- link_to "app /admin/products.rb" , "https://github.com/gregbell/activeadmin-store/blob/demo/app/admin/ products.rb"
38
+ sidebar "Active Admin Demo " do
39
+ render ( ' /admin/sidebar_links' , :model => ' products' )
40
40
end
41
41
end
Original file line number Diff line number Diff line change 35
35
end
36
36
end
37
37
38
- sidebar "Demo: Check out the Code! " do
39
- link_to "app /admin/users.rb" , "https://github.com/gregbell/activeadmin-store/blob/demo/app/admin/ users.rb"
38
+ sidebar "Active Admin Demo " do
39
+ render ( ' /admin/sidebar_links' , :model => ' users' )
40
40
end
41
41
end
Original file line number Diff line number Diff line change
1
+ This is the demo app for <%= link_to "Active Admin", "http://activeadmin.info" %> .
2
+ Don't hesitate to check out the
3
+ <%= link_to("source code for this page", "https://github.com/gregbell/activeadmin-store/blob/demo/app/admin/#{model}.rb") %> ,
4
+ the <%= link_to("Documentation", "http://activeadmin.info/documentation.html") %>
5
+ and the <%= link_to("Github Repo", "https://github.com/gregbell/active_admin") %> .
You can’t perform that action at this time.
0 commit comments