Commit
098a2def06d22b6604a7d698e030ce0bcfee35dc
Exists in
master
and in
22 other branches
angular_poc, api-article-archived, article-readonly, backup-7-jan-2016, captcha_serpro_plugin, content-manager-hostspot, export-comment-paragraph, fix_event_date_issue, login-captcha, master_rails3, new_video_plugin, pg_search_rank, production, refactor_with_role, refactor_with_role_scope, remove_profile_cat_icons, resend_confirmation_email, staging, staging_rails3, tasks_keep_filter_params, theme-brasil-digital-from-staging, travis
*Block: remove unecessary editable? methods
The superclass methos alteady returns true anyway.
| @@ -85,8 +85,4 @@ class FeedReaderBlock < Block |
| @@ -85,8 +85,4 @@ class FeedReaderBlock < Block |
85
| block_title(title) + formatted_feed_content |
85
| block_title(title) + formatted_feed_content |
86
| end |
86
| end |
87
| |
87
| |
88
| - def editable? |
| |
89
| - true |
| |
90
| - end |
| |
91
| - |
| |
92
| end |
88
| end |
| @@ -84,10 +84,6 @@ class LinkListBlock < Block |
| @@ -84,10 +84,6 @@ class LinkListBlock < Block |
84
| end |
84
| end |
85
| end |
85
| end |
86
| |
86
| |
87
| - def editable? |
| |
88
| - true |
| |
89
| - end |
| |
90
| - |
| |
91
| def icons_options |
87
| def icons_options |
92
| ICONS.map do |i| |
88
| ICONS.map do |i| |
93
| "<span title=\"#{i[1]}\" class=\"icon-#{i[0]}\" onclick=\"changeIcon(this, '#{i[0]}')\"></span>".html_safe |
89
| "<span title=\"#{i[1]}\" class=\"icon-#{i[0]}\" onclick=\"changeIcon(this, '#{i[0]}')\"></span>".html_safe |
| @@ -16,10 +16,6 @@ class MainBlock < Block |
| @@ -16,10 +16,6 @@ class MainBlock < Block |
16
| true |
16
| true |
17
| end |
17
| end |
18
| |
18
| |
19
| - def editable? |
| |
20
| - true |
| |
21
| - end |
| |
22
| - |
| |
23
| def cacheable? |
19
| def cacheable? |
24
| false |
20
| false |
25
| end |
21
| end |
| @@ -23,10 +23,6 @@ class ProfileImageBlock < Block |
| @@ -23,10 +23,6 @@ class ProfileImageBlock < Block |
23
| end |
23
| end |
24
| end |
24
| end |
25
| |
25
| |
26
| - def editable? |
| |
27
| - true |
| |
28
| - end |
| |
29
| - |
| |
30
| def cacheable? |
26
| def cacheable? |
31
| false |
27
| false |
32
| end |
28
| end |
| @@ -11,8 +11,4 @@ class ProfileSearchBlock < Block |
| @@ -11,8 +11,4 @@ class ProfileSearchBlock < Block |
11
| end |
11
| end |
12
| end |
12
| end |
13
| |
13
| |
14
| - def editable? |
| |
15
| - true |
| |
16
| - end |
| |
17
| - |
| |
18
| end |
14
| end |