Commit 83f37f7aedcdc7ca5580b0ec4fd3eccc7eab69df
1 parent
ad11e627
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
removing release notes method
Showing
2 changed files
with
6 additions
and
7 deletions
Show diff stats
app/models/block.rb
| ... | ... | @@ -119,12 +119,13 @@ class Block < ActiveRecord::Base |
| 119 | 119 | '(dummy)' |
| 120 | 120 | end |
| 121 | 121 | |
| 122 | + # returns a short description of the block, used when the user sees a list of | |
| 123 | + # blocks to choose one to include in the design. | |
| 124 | + # | |
| 125 | + # Must be redefined in subclasses to match the short description of each block | |
| 126 | + # type. | |
| 122 | 127 | def self.short_description |
| 123 | - '(dummy)' | |
| 124 | - end | |
| 125 | - | |
| 126 | - def self.release_notes | |
| 127 | - '(dummy)' | |
| 128 | + _('(dummy)') | |
| 128 | 129 | end |
| 129 | 130 | |
| 130 | 131 | def self.default_preview | ... | ... |
app/views/box_organizer/show_block_type_info.html.erb