File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed
Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -207,31 +207,6 @@ def content
207207 @can_request_another = @can_request_another && @in_progress_commissions . count < BasilService ::MAX_JOB_QUEUE_SIZE
208208 end
209209
210- def character
211- @character = current_user . characters . find ( params [ :id ] )
212- @guidance = BasilFieldGuidance . find_or_initialize_by ( entity : @character , user : current_user ) . try ( :guidance )
213- @guidance ||= { }
214-
215- category_ids = AttributeCategory . where (
216- user_id : current_user . id ,
217- entity_type : 'character' ,
218- label : [ 'Looks' , 'Appearance' ]
219- ) . pluck ( :id )
220- @appearance_fields = AttributeField . where ( attribute_category_id : category_ids )
221- @attributes = Attribute . where (
222- attribute_field_id : @appearance_fields . pluck ( :id ) ,
223- entity_id : @character . id ,
224- entity_type : 'Character'
225- )
226-
227- @commissions = BasilCommission . where ( entity_type : 'Character' , entity_id : @character . id )
228- . order ( 'id DESC' )
229- . limit ( 20 )
230- . includes ( :basil_feedbacks )
231- @in_progress_commissions = BasilCommission . where ( entity_type : 'Character' , entity_id : @character . id , completed_at : nil )
232- @can_request_another = @in_progress_commissions . count < BasilService ::MAX_JOB_QUEUE_SIZE
233- end
234-
235210 def about
236211 end
237212
Original file line number Diff line number Diff line change 2424 get '/:content_type' , to : 'basil#index' , as : :basil_content_index
2525 get '/:content_type/:id' , to : 'basil#content' , as : :basil_content
2626 post '/:content_type/:id' , to : 'basil#commission' , as : :basil_commission
27-
28- # URLs to migrate over
29- # get '/character/:id', to: 'basil#character', as: :basil_character
30- # post '/character/:id', to: 'basil#commission'
3127 end
3228 end
3329
You can’t perform that action at this time.
0 commit comments