mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Rename browse controller to sqm categories controller
This commit is contained in:
parent
ae525fdb2a
commit
4aa0c97275
5 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
class BrowseController < SqmApplicationController
|
||||
class SqmCategoriesController < SqmApplicationController
|
||||
|
||||
def show
|
||||
@category = CategoryPresenter.new(
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
|
@ -5,7 +5,7 @@ Rails.application.routes.draw do
|
|||
resources :districts do
|
||||
resources :schools, only: [:index, :show] do
|
||||
resources :dashboard, only: [:index]
|
||||
resources :browse, only: [:show]
|
||||
resources :sqm_categories, only: [:show], path: 'browse'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
require 'rails_helper'
|
||||
|
||||
describe 'browse/show.html.erb' do
|
||||
describe 'sqm_categories/show.html.erb' do
|
||||
before :each do
|
||||
academic_year = create(:academic_year, range: '1989-90')
|
||||
school = create(:school, name: 'Best School')
|
||||
Loading…
Add table
Add a link
Reference in a new issue