Method: ClassifyConcernsController#create
- Defined in:
- app/controllers/classify_concerns_controller.rb
#create ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'app/controllers/classify_concerns_controller.rb', line 18 def create if classify_concern.valid? respond_with(classify_concern) do |wants| wants.html do redirect_to new_polymorphic_path( [:curation_concern, classify_concern.curation_concern_class] ) end end else respond_with(classify_concern) end end |