]> git.openstreetmap.org Git - rails.git/blob - app/controllers/accounts/pd_declarations_controller.rb
f6740f77787f1850afaf2690fa67614c391ceb5d
[rails.git] / app / controllers / accounts / pd_declarations_controller.rb
1 module Accounts
2   class PdDeclarationsController < ApplicationController
3     layout "site"
4
5     before_action :authorize_web
6     before_action :set_locale
7
8     authorize_resource :class => :account_pd_declaration
9
10     def show; end
11
12     def create
13       redirect_to edit_account_path
14     end
15   end
16 end