Can I switch off the default route to a component? (Netzke 1.0.1.0)

29 views
Skip to first unread message

Thomas Gernhardt

unread,
Jul 8, 2016, 2:04:19 PM7/8/16
to Netzke
Hi

I implemented some kind of authetication for the root route. (with devise)
 - Works fine

But the standard route to an component like:

/netzke/components/{name of the component's class}

still works and is a giant backdoor.

Is it possible to switch off this routes?

Regards
Thomas

Max Gorin

unread,
Jul 9, 2016, 12:55:38 AM7/9/16
to net...@googlegroups.com
Those routes are only enabled in development and test env: https://github.com/netzke/netzke-testing/blob/master/config/routes.rb#L2

-- 
Max Gorin
--
You received this message because you are subscribed to the Google Groups "Netzke" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netzke+un...@googlegroups.com.
To post to this group, send email to net...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netzke/ad30e95c-2ac6-4e7a-a692-80f2101580c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thomas Gernhardt

unread,
Jul 11, 2016, 2:22:28 AM7/11/16
to Netzke
ok - thank you :)

Thomas
Reply all
Reply to author
Forward
0 new messages