diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb new file mode 100644 index 0000000..e838d5e --- /dev/null +++ b/app/controllers/admin/groups_controller.rb @@ -0,0 +1,9 @@ +class Admin::GroupsController < OrbitMemberController + + def index + end + + def categories + end + +end \ No newline at end of file diff --git a/app/views/admin/groups/categories.html.erb b/app/views/admin/groups/categories.html.erb new file mode 100644 index 0000000..1eab51a --- /dev/null +++ b/app/views/admin/groups/categories.html.erb @@ -0,0 +1 @@ +this is category. \ No newline at end of file diff --git a/app/views/admin/groups/index.html.erb b/app/views/admin/groups/index.html.erb new file mode 100644 index 0000000..ebc19ee --- /dev/null +++ b/app/views/admin/groups/index.html.erb @@ -0,0 +1 @@ +this is my group page \ No newline at end of file diff --git a/app/views/admin/members/_side_bar.html.erb b/app/views/admin/members/_side_bar.html.erb index c5de6cb..5537a89 100644 --- a/app/views/admin/members/_side_bar.html.erb +++ b/app/views/admin/members/_side_bar.html.erb @@ -16,8 +16,8 @@ <%= content_tag :li, :class => active_for_controllers('plugins') do -%> <%= link_to( ( content_tag(:span, content_tag(:i, nil, :class => 'icons-pie'))), '#') %> <% end -%> - <%= content_tag :li, :class => active_for_controllers('plugins') do -%> - <%= link_to( ( content_tag(:span, content_tag(:i, nil, :class => 'icons-layout'))), '#') %> + <%= content_tag :li, :class => active_for_controllers('groups') do -%> + <%= link_to( ( content_tag(:span, content_tag(:i, nil, :class => 'icons-layout'))), admin_groups_path) %> <% end -%> <% end -%> <% end -%> @@ -49,7 +49,9 @@