ontologies_controller.rb revision acb3db0ee20cd276e305da358a03b30666976db0
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Controller for ontologies
16f816d3f3c32ae3351834253f52ddd0212bcbf3Timo Sirainenclass OntologiesController < InheritedResources::Base
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen load_and_authorize_resource :except => [:index, :show]
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen show! { @grouped_kinds = resource.entities.grouped_by_kind }