Enabling DAOdapp

This commit is contained in:
Tomasz Drwięga 2016-06-02 13:32:33 +02:00
parent 79a60e157b
commit cce18cb4c5

View File

@ -63,12 +63,12 @@ fn wallet_page(pages: &mut Endpoints) {
#[cfg(not(feature = "parity-dapps-wallet"))] #[cfg(not(feature = "parity-dapps-wallet"))]
fn wallet_page(_pages: &mut Endpoints) {} fn wallet_page(_pages: &mut Endpoints) {}
#[cfg(feature = "parity-dapps-daodapp")] #[cfg(feature = "parity-dapps-dao")]
fn daodapp_page(pages: &mut Endpoints) { fn daodapp_page(pages: &mut Endpoints) {
extern crate parity_dapps_daodapp; extern crate parity_dapps_dao;
insert::<parity_dapps_daodapp::App>(pages, "dao"); insert::<parity_dapps_dao::App>(pages, "dao");
} }
#[cfg(not(feature = "parity-dapps-daodapp"))] #[cfg(not(feature = "parity-dapps-dao"))]
fn daodapp_page(_pages: &mut Endpoints) {} fn daodapp_page(_pages: &mut Endpoints) {}
#[cfg(feature = "parity-dapps-makerotc")] #[cfg(feature = "parity-dapps-makerotc")]