decidim-core 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fab87e5ca6c3c0abd7ef72feaf82a92e3d0f6936
4
- data.tar.gz: cd1c70112eba7182289f4c509ff60a3618eb5f3b
3
+ metadata.gz: 8eba11b2c48395aa9194428d085bede3ceddc066
4
+ data.tar.gz: 64377d579d64f932000db763f1eddb834b827569
5
5
  SHA512:
6
- metadata.gz: 80ffff8ad1dd7918ec236a61683d79e86b8c02db3585c34a501c15551acababecd7b0ef87b4ac2f68b34048451247ca491185f869b9c33f92c6d79ec47fde90f
7
- data.tar.gz: 62947b2ff7c200bdd103453e9bbcd0ef351c54e7f3f0d957e224340a6fa94bc1b50a1ebfdd7da1fe7fd5687629ee862b4cecad5ff6447a46598ec58260b510cb
6
+ metadata.gz: 68ef82ba758d77eac53a22010784d39af4ee4ca28a732596609a3f5d203d4bb45c7c4a5ea1377945340f125e9aae743a6dfc59a89a7105e6843e70eec06e316c
7
+ data.tar.gz: '0485336b9f027af626642657de541ad421e6c6c160699ec7d669a30d655fea485c221a6efcc2b6cca47bd2ebf65ae0c0de985a723738f560b5f29eab2e6d70a3'
@@ -5,7 +5,7 @@ module Decidim
5
5
  class ReportedMailer < Decidim::ApplicationMailer
6
6
  helper Decidim::ResourceHelper
7
7
 
8
- helper_method :reported_content_url
8
+ helper_method :reported_content_url, :manage_moderations_url
9
9
 
10
10
  def report(user, report)
11
11
  with_user(user) do
@@ -34,5 +34,9 @@ module Decidim
34
34
  def reported_content_url
35
35
  @reported_content_url ||= @report.moderation.reportable.reported_content_url
36
36
  end
37
+
38
+ def manage_moderations_url
39
+ @manage_moderations_url ||= decidim_admin.participatory_process_moderations_url(@participatory_process.id, host: @organization.host)
40
+ end
37
41
  end
38
42
  end
@@ -5,5 +5,5 @@
5
5
  </p>
6
6
 
7
7
  <p>
8
- <%= link_to t(".manage_moderations"), decidim_admin.participatory_process_moderations_path(@participatory_process.id) %>
8
+ <%= link_to t(".manage_moderations"), manage_moderations_url %>
9
9
  </p>
@@ -5,5 +5,5 @@
5
5
  </p>
6
6
 
7
7
  <p>
8
- <%= link_to t(".manage_moderations"), decidim_admin.participatory_process_moderations_path(@participatory_process.id) %>
8
+ <%= link_to t(".manage_moderations"), manage_moderations_url %>
9
9
  </p>
@@ -3,7 +3,7 @@
3
3
  # This holds Decidim's version and the Rails version on which it depends.
4
4
  module Decidim
5
5
  def self.version
6
- "0.3.1"
6
+ "0.3.2"
7
7
  end
8
8
 
9
9
  def self.rails_version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-06-16 00:00:00.000000000 Z
13
+ date: 2017-06-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -452,70 +452,70 @@ dependencies:
452
452
  requirements:
453
453
  - - '='
454
454
  - !ruby/object:Gem::Version
455
- version: 0.3.1
455
+ version: 0.3.2
456
456
  type: :runtime
457
457
  prerelease: false
458
458
  version_requirements: !ruby/object:Gem::Requirement
459
459
  requirements:
460
460
  - - '='
461
461
  - !ruby/object:Gem::Version
462
- version: 0.3.1
462
+ version: 0.3.2
463
463
  - !ruby/object:Gem::Dependency
464
464
  name: decidim-dev
465
465
  requirement: !ruby/object:Gem::Requirement
466
466
  requirements:
467
467
  - - '='
468
468
  - !ruby/object:Gem::Version
469
- version: 0.3.1
469
+ version: 0.3.2
470
470
  type: :development
471
471
  prerelease: false
472
472
  version_requirements: !ruby/object:Gem::Requirement
473
473
  requirements:
474
474
  - - '='
475
475
  - !ruby/object:Gem::Version
476
- version: 0.3.1
476
+ version: 0.3.2
477
477
  - !ruby/object:Gem::Dependency
478
478
  name: decidim-proposals
479
479
  requirement: !ruby/object:Gem::Requirement
480
480
  requirements:
481
481
  - - '='
482
482
  - !ruby/object:Gem::Version
483
- version: 0.3.1
483
+ version: 0.3.2
484
484
  type: :development
485
485
  prerelease: false
486
486
  version_requirements: !ruby/object:Gem::Requirement
487
487
  requirements:
488
488
  - - '='
489
489
  - !ruby/object:Gem::Version
490
- version: 0.3.1
490
+ version: 0.3.2
491
491
  - !ruby/object:Gem::Dependency
492
492
  name: decidim-meetings
493
493
  requirement: !ruby/object:Gem::Requirement
494
494
  requirements:
495
495
  - - '='
496
496
  - !ruby/object:Gem::Version
497
- version: 0.3.1
497
+ version: 0.3.2
498
498
  type: :development
499
499
  prerelease: false
500
500
  version_requirements: !ruby/object:Gem::Requirement
501
501
  requirements:
502
502
  - - '='
503
503
  - !ruby/object:Gem::Version
504
- version: 0.3.1
504
+ version: 0.3.2
505
505
  - !ruby/object:Gem::Dependency
506
506
  name: decidim-results
507
507
  requirement: !ruby/object:Gem::Requirement
508
508
  requirements:
509
509
  - - '='
510
510
  - !ruby/object:Gem::Version
511
- version: 0.3.1
511
+ version: 0.3.2
512
512
  type: :development
513
513
  prerelease: false
514
514
  version_requirements: !ruby/object:Gem::Requirement
515
515
  requirements:
516
516
  - - '='
517
517
  - !ruby/object:Gem::Version
518
- version: 0.3.1
518
+ version: 0.3.2
519
519
  description: Adds core features so other engines can hook into the framework.
520
520
  email:
521
521
  - josepjaume@gmail.com