1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-24 04:51:29 +00:00

newPage is now working, working on editpage

This commit is contained in:
Scott Tolksdorf
2016-12-27 15:13:18 -05:00
parent 8abf6abf99
commit f4cf288f27
36 changed files with 280 additions and 1986 deletions

View File

@@ -7,10 +7,10 @@ const Actions = require('homebrewery/brew.actions.js');
const HomePage = require('./pages/homePage/homePage.jsx');
const EditPage = require('./pages/editPage/editPage.jsx');
const UserPage = require('./pages/userPage/userPage.jsx');
const SharePage = require('./pages/sharePage/sharePage.jsx');
//const UserPage = require('./pages/userPage/userPage.jsx');
//const SharePage = require('./pages/sharePage/sharePage.jsx');
const NewPage = require('./pages/newPage/newPage.jsx');
const ErrorPage = require('./pages/errorPage/errorPage.jsx');
//const ErrorPage = require('./pages/errorPage/errorPage.jsx');
const PrintPage = require('./pages/printPage/printPage.jsx');
let Router;
@@ -47,6 +47,7 @@ const Homebrew = React.createClass({
id={args.id}
brew={this.props.brew} />
},
/*
'/share/:id' : (args) => {
if(!this.props.brew.shareId){
@@ -62,7 +63,7 @@ const Homebrew = React.createClass({
username={args.username}
brews={this.props.brews}
/>
},
},*/
'/print/:id' : (args, query) => {
return <PrintPage brew={this.props.brew} query={query}/>;
},