Open JohnMerlino1 opened 8 years ago
I am unable to get this working with will_paginate, as I explain here: https://github.com/mislav/will_paginate/pull/172
I have the following in my routes.rb:
mount FullcalendarEngine::Engine , at: "/fullcalendar_engine" resources :events, module: 'fullcalendar_engine' , only: [:index, :show] do collection do get 'calendar', to: 'events#calendar', as: 'calendar' post :check end end
But there is no way for me to generate the url:
FullcalendarEngine::Engine.routes.url_for({ controller: 'events', action: 'index'}) ActionController::UrlGenerationError: No route matches {:action=>"index", :controller=>"events"} RailsDevise::Application.routes.url_for({ controller: 'events', action: 'index'}) ActionController::UrlGenerationError: No route matches {:action=>"index", :controller=>"events"}
What can I do?
I am unable to get this working with will_paginate, as I explain here: https://github.com/mislav/will_paginate/pull/172
I have the following in my routes.rb:
But there is no way for me to generate the url:
What can I do?