Sha256: 7093a4ac51d3629191b8ef60d8ece199e978ff95c9633501cac913b2a6371c37

Contents?: true

Size: 459 Bytes

Versions: 13

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Surveys
    # This is the engine that runs on the public interface of `Surveys`.
    class AdminEngine < ::Rails::Engine
      isolate_namespace Decidim::Surveys::Admin

      paths["db/migrate"] = nil
      paths["lib/tasks"] = nil

      routes do
        put "/", to: "surveys#update", as: :survey
        root to: "surveys#edit"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-surveys-0.22.0 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.21.0 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.20.1 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.20.0 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.19.1 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.18.1 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.19.0 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.17.2 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.18.0 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.17.1 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.16.1 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.17.0 lib/decidim/surveys/admin_engine.rb
decidim-surveys-0.16.0 lib/decidim/surveys/admin_engine.rb