Admin option to add banners and show banners

This commit is contained in:
MaiteHdezRivas
2016-05-19 12:47:50 +02:00
parent b375e696c0
commit 3b2bfc46cf
41 changed files with 760 additions and 6 deletions

View File

@@ -143,6 +143,10 @@ Rails.application.routes.draw do
get :summary, on: :collection
end
resources :banners, only: [:index, :new, :create, :edit, :update, :destroy] do
collection { get :search}
end
resources :comments, only: :index do
member do
put :restore