Skip to content

add Auth example, work around package controllers object issue#3

Open
skinner wants to merge 1 commit into
wsargent:masterfrom
skinner:master
Open

add Auth example, work around package controllers object issue#3
skinner wants to merge 1 commit into
wsargent:masterfrom
skinner:master

Conversation

@skinner

@skinner skinner commented Aug 21, 2013

Copy link
Copy Markdown

Hi, I was trying to create a page that required authentication (using Auth from BaseActions), and I ran into a problem with the controllers package object. At runtime, when something tries to reference the controllers.FLASH_* constants, I get a NoSuchMethodError. I believe that's due to
playframework/playframework#1412
so I added a work around in this commit.

I'm totally new to scala and play, so I may not have done things in an idiomatic way; I'd appreciate any feedback you have about the "right way" to create a page that only authenticated users can see using play20-rememberme. Or any other scala/play style or correctness issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant