mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Create analyze page. Finishes #182097292
This commit is contained in:
parent
17ae2e582b
commit
cb5fe56c30
9 changed files with 49 additions and 8 deletions
9
app/controllers/analyze_controller.rb
Normal file
9
app/controllers/analyze_controller.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class AnalyzeController < SqmApplicationController
|
||||
def index
|
||||
@category ||= Category.find_by_category_id(params[:category_id])
|
||||
@category ||= Category.find_by_category_id(1)
|
||||
|
||||
@subcategory ||= Subcategory.find_by_subcategory_id(params[:subcategory_id])
|
||||
@subcategory ||= Subcategory.find_by_subcategory_id('1A')
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue