mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 13:44:23 +08:00
fix hound
This commit is contained in:
parent
0bae4657f6
commit
3aa1225e16
1 changed files with 18 additions and 14 deletions
|
@ -83,20 +83,24 @@ class Activity < ActiveRecord::Base
|
|||
.url_helpers
|
||||
.project_path(project)}'>
|
||||
#{project.name}</a>"
|
||||
experiment_m = "| #{I18n.t('search.index.experiment')}
|
||||
<a href='#{Rails
|
||||
.application
|
||||
.routes
|
||||
.url_helpers
|
||||
.canvas_experiment_path(experiment)}'>
|
||||
#{experiment.name}</a>" if experiment
|
||||
task_m = "| #{I18n.t('search.index.module')}
|
||||
<a href='#{Rails
|
||||
.application
|
||||
.routes
|
||||
.url_helpers
|
||||
.protocols_my_module_path(my_module)}'>
|
||||
#{my_module.name}</a>" if my_module
|
||||
if experiment
|
||||
experiment_m = "| #{I18n.t('search.index.experiment')}
|
||||
<a href='#{Rails
|
||||
.application
|
||||
.routes
|
||||
.url_helpers
|
||||
.canvas_experiment_path(experiment)}'>
|
||||
#{experiment.name}</a>"
|
||||
end
|
||||
if my_module
|
||||
task_m = "| #{I18n.t('search.index.module')}
|
||||
<a href='#{Rails
|
||||
.application
|
||||
.routes
|
||||
.url_helpers
|
||||
.protocols_my_module_path(my_module)}'>
|
||||
#{my_module.name}</a>"
|
||||
end
|
||||
|
||||
notification = Notification.create(
|
||||
type_of: notification_type,
|
||||
|
|
Loading…
Add table
Reference in a new issue